home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C
/
Applications
/
Flex-CW 2.5.1
/
scan.c
< prev
next >
Wrap
Text File
|
1995-10-14
|
109KB
|
3,654 lines
#line 2 "scan.c"
/* A lexical scanner generated by flex */
/* Scanner skeleton version:
* $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.81 95/03/20 14:02:24 vern Exp $
*/
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 5
#include <stdio.h>
/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
#ifdef c_plusplus
#ifndef __cplusplus
#define __cplusplus
#endif
#endif
#ifdef __cplusplus
#include <stdlib.h>
#include <unistd.h>
/* Use prototypes in function declarations. */
#define YY_USE_PROTOS
/* The "const" storage-class-modifier is valid. */
#define YY_USE_CONST
#else /* ! __cplusplus */
#if __STDC__
#define YY_USE_PROTOS
#define YY_USE_CONST
#endif /* __STDC__ */
#endif /* ! __cplusplus */
#ifdef __TURBOC__
#pragma warn -rch
#pragma warn -use
#include <io.h>
#include <stdlib.h>
#define YY_USE_CONST
#define YY_USE_PROTOS
#endif
#ifndef YY_USE_CONST
#ifndef const
#define const
#endif
#endif
#ifdef YY_USE_PROTOS
#define YY_PROTO(proto) proto
#else
#define YY_PROTO(proto) ()
#endif
/* Returned upon end-of-file. */
#define YY_NULL 0
/* Promotes a possibly negative, possibly signed char to an unsigned
* integer for use as an array index. If the signed char is negative,
* we want to instead treat it as an 8-bit unsigned char, hence the
* double cast.
*/
#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
/* Enter a start condition. This macro really ought to take a parameter,
* but we do it the disgusting crufty way forced on us by the ()-less
* definition of BEGIN.
*/
#define BEGIN yy_start = 1 + 2 *
/* Translate the current start state into a value that can be later handed
* to BEGIN to return to the state. The YYSTATE alias is for lex
* compatibility.
*/
#define YY_START ((yy_start - 1) / 2)
#define YYSTATE YY_START
/* Action number for EOF rule of a given start state. */
#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
/* Special action meaning "start processing a new file". */
#define YY_NEW_FILE yyrestart( yyin )
#define YY_END_OF_BUFFER_CHAR 0
/* Size of default input buffer. */
#define YY_BUF_SIZE 16384
typedef struct yy_buffer_state *YY_BUFFER_STATE;
extern int yyleng;
extern FILE *yyin, *yyout;
#define EOB_ACT_CONTINUE_SCAN 0
#define EOB_ACT_END_OF_FILE 1
#define EOB_ACT_LAST_MATCH 2
/* The funky do-while in the following #define is used to turn the definition
* int a single C statement (which needs a semi-colon terminator). This
* avoids problems with code like:
*
* if ( condition_holds )
* yyless( 5 );
* else
* do_something_else();
*
* Prior to using the do-while the compiler would get upset at the
* "else" because it interpreted the "if" statement as being all
* done when it reached the ';' after the yyless() call.
*/
/* Return all but the first 'n' matched characters back to the input stream. */
#define yyless(n) \
do \
{ \
/* Undo effects of setting up yytext. */ \
*yy_cp = yy_hold_char; \
yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
YY_DO_BEFORE_ACTION; /* set up yytext again */ \
} \
while ( 0 )
#define unput(c) yyunput( c, yytext_ptr )
/* The following is because we cannot portably get our hands on size_t
* (without autoconf's help, which isn't available because we want
* flex-generated scanners to compile on their own).
*/
#ifdef __MWERKS__
typedef size_t yy_size_t;
#else
typedef unsigned int yy_size_t;
#endif
struct yy_buffer_state
{
FILE *yy_input_file;
char *yy_ch_buf; /* input buffer */
char *yy_buf_pos; /* current position in input buffer */
/* Size of input buffer in bytes, not including room for EOB
* characters.
*/
yy_size_t yy_buf_size;
/* Number of characters read into yy_ch_buf, not including EOB
* characters.
*/
int yy_n_chars;
/* Whether we "own" the buffer - i.e., we know we created it,
* and can realloc() it to grow it, and should free() it to
* delete it.
*/
int yy_is_our_buffer;
/* Whether this is an "interactive" input source; if so, and
* if we're using stdio for input, then we want to use getc()
* instead of fread(), to make sure we stop fetching input after
* each newline.
*/
int yy_is_interactive;
/* Whether we're considered to be at the beginning of a line.
* If so, '^' rules will be active on the next match, otherwise
* not.
*/
int yy_at_bol;
/* Whether to try to fill the input buffer when we reach the
* end of it.
*/
int yy_fill_buffer;
int yy_buffer_status;
#define YY_BUFFER_NEW 0
#define YY_BUFFER_NORMAL 1
/* When an EOF's been seen but there's still some text to process
* then we mark the buffer as YY_EOF_PENDING, to indicate that we
* shouldn't try reading from the input source any more. We might
* still have a bunch of tokens to match, though, because of
* possible backing-up.
*
* When we actually see the EOF, we change the status to "new"
* (via yyrestart()), so that the user can continue scanning by
* just pointing yyin at a new input file.
*/
#define YY_BUFFER_EOF_PENDING 2
};
static YY_BUFFER_STATE yy_current_buffer = 0;
/* We provide macros for accessing buffer states in case in the
* future we want to put the buffer states in a more general
* "scanner state".
*/
#define YY_CURRENT_BUFFER yy_current_buffer
/* yy_hold_char holds the character lost when yytext is formed. */
static char yy_hold_char;
static int yy_n_chars; /* number of characters read into yy_ch_buf */
int yyleng;
/* Points to current character in buffer. */
static char *yy_c_buf_p = (char *) 0;
static int yy_init = 1; /* whether we need to initialize */
static int yy_start = 0; /* start state number */
/* Flag which is used to allow yywrap()'s to do buffer switches
* instead of setting up a fresh yyin. A bit of a hack ...
*/
static int yy_did_buffer_switch_on_eof;
void yyrestart YY_PROTO(( FILE *input_file ));
void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer ));
void yy_load_buffer_state YY_PROTO(( void ));
YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size ));
void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b ));
void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b ));
#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer )
YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size ));
YY_BUFFER_STATE yy_scan_string YY_PROTO(( const char *str ));
YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( const char *bytes, int len ));
static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));
static void yy_flex_free YY_PROTO(( void * ));
#define yy_new_buffer yy_create_buffer
#define yy_set_interactive(is_interactive) \
{ \
if ( ! yy_current_buffer ) \
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
yy_current_buffer->yy_is_interactive = is_interactive; \
}
#define yy_set_bol(at_bol) \
{ \
if ( ! yy_current_buffer ) \
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
yy_current_buffer->yy_at_bol = at_bol; \
}
#define YY_AT_BOL() (yy_current_buffer->yy_at_bol)
typedef unsigned char YY_CHAR;
FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
typedef int yy_state_type;
extern char *yytext;
#define yytext_ptr yytext
#ifndef YY_SKIP_YYWRAP
#ifdef __cplusplus
extern "C" int yywrap YY_PROTO(( void ));
#else
extern int yywrap YY_PROTO(( void ));
#endif
#endif
#ifndef YY_NO_UNPUT
static void yyunput YY_PROTO(( int c, char *buf_ptr ));
#endif
#ifndef yytext_ptr
static void yy_flex_strncpy YY_PROTO(( char *, const char *, int ));
#endif
#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput YY_PROTO(( void ));
#else
static int input YY_PROTO(( void ));
#endif
#endif
static yy_state_type yy_get_previous_state YY_PROTO(( void ));
static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));
static int yy_get_next_buffer YY_PROTO(( void ));
static void yy_fatal_error YY_PROTO(( const char msg[] ));
/* Done after the current pattern has been matched and before the
* corresponding action - sets up yytext.
*/
#define YY_DO_BEFORE_ACTION \
yytext_ptr = yy_bp; \
yyleng = (int) (yy_cp - yy_bp); \
yy_hold_char = *yy_cp; \
*yy_cp = '\0'; \
yy_c_buf_p = yy_cp;
#define YY_NUM_RULES 165
#define YY_END_OF_BUFFER 166
static const short int yy_accept[769] =
{ 0,
0, 0, 0, 0, 87, 87, 163, 163, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 166, 164,
7, 18, 164, 16, 1, 17, 164, 164, 164, 164,
15, 108, 100, 101, 108, 93, 108, 107, 108, 108,
108, 107, 99, 89, 108, 108, 91, 92, 87, 88,
87, 86, 85, 86, 86, 163, 163, 28, 29, 28,
28, 28, 28, 28, 28, 31, 30, 32, 31, 113,
109, 110, 112, 114, 141, 142, 141, 139, 138, 140,
115, 117, 115, 116, 115, 120, 120, 120, 120, 122,
124, 122, 122, 122, 122, 123, 151, 155, 151, 154,
156, 156, 152, 152, 152, 149, 150, 164, 82, 164,
21, 22, 21, 20, 157, 159, 157, 160, 161, 147,
147, 148, 147, 147, 147, 147, 147, 147, 147, 81,
34, 33, 81, 81, 81, 81, 35, 81, 81, 81,
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
81, 81, 81, 81, 81, 81, 26, 23, 26, 24,
7, 18, 0, 16, 1, 17, 0, 0, 0, 14,
8, 0, 0, 0, 0, 4, 5, 0, 2, 15,
100, 101, 0, 0, 0, 95, 0, 0, 105, 105,
0, 162, 162, 162, 94, 0, 99, 89, 0, 0,
0, 91, 92, 104, 90, 0, 87, 88, 86, 85,
85, 83, 84, 163, 163, 28, 29, 28, 28, 28,
28, 31, 30, 32, 111, 112, 142, 138, 117, 0,
118, 119, 124, 121, 151, 155, 0, 153, 0, 144,
152, 152, 152, 0, 82, 0, 21, 22, 21, 19,
157, 159, 158, 147, 147, 147, 148, 143, 147, 147,
147, 34, 33, 0, 80, 0, 0, 81, 81, 81,
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
81, 81, 81, 36, 81, 81, 81, 81, 81, 81,
81, 81, 81, 81, 0, 25, 24, 0, 14, 8,
0, 12, 0, 0, 0, 0, 0, 4, 5, 0,
6, 0, 96, 0, 97, 0, 0, 105, 105, 0,
105, 105, 105, 162, 162, 0, 106, 90, 98, 0,
104, 0, 83, 84, 28, 28, 28, 27, 28, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 152, 152, 143, 143, 147, 147, 0, 0, 81,
81, 81, 81, 81, 44, 81, 81, 81, 49, 81,
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
81, 81, 81, 81, 81, 81, 81, 81, 0, 81,
81, 81, 81, 0, 0, 0, 12, 0, 0, 0,
0, 0, 0, 4, 5, 0, 105, 105, 105, 105,
105, 105, 162, 0, 0, 28, 28, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
152, 152, 147, 147, 37, 38, 81, 81, 81, 81,
81, 81, 81, 81, 50, 51, 81, 81, 81, 55,
81, 81, 81, 81, 81, 81, 60, 81, 81, 81,
81, 81, 81, 67, 0, 0, 0, 81, 81, 81,
81, 0, 13, 0, 0, 0, 0, 0, 0, 105,
105, 105, 105, 105, 105, 0, 0, 28, 28, 137,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 152, 152, 147, 147, 39, 81, 41, 81,
43, 81, 81, 81, 47, 81, 52, 81, 81, 81,
81, 81, 81, 81, 81, 81, 62, 81, 81, 65,
81, 0, 0, 0, 0, 81, 81, 81, 81, 3,
0, 0, 0, 0, 105, 105, 105, 0, 0, 28,
28, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 145, 146, 145, 146, 81, 42, 81,
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
81, 78, 61, 81, 64, 81, 0, 0, 0, 0,
81, 81, 69, 70, 0, 10, 0, 11, 0, 103,
0, 102, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 81, 81, 81, 45, 81, 48,
81, 81, 81, 81, 77, 81, 59, 63, 66, 0,
0, 0, 0, 79, 81, 0, 102, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 81,
81, 81, 46, 81, 81, 56, 81, 81, 0, 0,
0, 0, 68, 0, 9, 0, 125, 126, 127, 128,
129, 130, 131, 132, 133, 134, 135, 0, 81, 81,
81, 81, 81, 81, 81, 0, 0, 0, 0, 0,
136, 81, 81, 81, 81, 54, 81, 81, 0, 0,
0, 0, 0, 0, 81, 81, 81, 53, 81, 58,
0, 0, 0, 0, 0, 0, 81, 81, 81, 81,
72, 0, 0, 0, 0, 73, 81, 81, 81, 81,
71, 0, 75, 0, 81, 81, 81, 74, 76, 81,
81, 81, 81, 81, 81, 57, 40, 0
} ;
static const int yy_ec[256] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
1, 1, 4, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 2, 1, 5, 6, 7, 8, 1, 9, 10,
10, 11, 12, 13, 14, 10, 15, 16, 16, 16,
16, 16, 16, 16, 17, 18, 16, 19, 1, 20,
21, 22, 10, 1, 30, 31, 32, 33, 34, 35,
36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
46, 47, 48, 49, 50, 51, 52, 53, 54, 46,
25, 26, 27, 28, 29, 1, 30, 31, 32, 33,
34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
54, 46, 55, 56, 57, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1
} ;
static const int yy_meta[58] =
{ 0,
1, 1, 2, 1, 3, 1, 1, 1, 4, 1,
5, 6, 1, 7, 4, 8, 8, 8, 1, 1,
1, 1, 9, 10, 1, 11, 12, 1, 13, 14,
14, 14, 14, 14, 14, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 4, 1, 16
} ;
static const short int yy_base[857] =
{ 0,
0, 57, 113, 169, 118, 127, 2676, 2675, 226, 2669,
138, 141, 283, 0, 2648, 2647, 133, 144, 149, 160,
179, 184, 188, 338, 365, 0, 123, 152, 155, 195,
420, 423, 449, 0, 506, 0, 340, 343, 2674, 2680,
214, 2680, 2670, 0, 217, 2680, 2669, 181, 556, 2660,
0, 2680, 563, 2680, 2667, 2680, 347, 2680, 2649, 328,
552, 413, 574, 2680, 2665, 565, 2647, 2680, 0, 2680,
2663, 0, 2663, 2661, 77, 2660, 2680, 0, 2680, 2659,
2680, 0, 2627, 2606, 2602, 0, 2656, 2680, 2654, 2680,
2680, 2628, 0, 2680, 2680, 2680, 2652, 2680, 416, 2680,
2680, 2680, 2651, 2680, 563, 2680, 2634, 575, 421, 2680,
2680, 2649, 0, 2632, 590, 2680, 0, 2680, 2647, 2680,
586, 2638, 0, 2614, 2593, 2680, 2680, 433, 2680, 435,
437, 2680, 439, 2631, 0, 2680, 2642, 2680, 0, 0,
613, 2680, 2641, 2586, 2680, 2631, 0, 2607, 2586, 2680,
2637, 2680, 2635, 2632, 2605, 2604, 2680, 576, 2604, 155,
2599, 2600, 158, 0, 2588, 2596, 166, 159, 2579, 540,
2594, 2578, 2583, 2591, 2594, 2569, 2680, 2680, 2617, 608,
629, 2680, 2618, 0, 632, 2680, 2617, 573, 2581, 0,
0, 635, 638, 642, 645, 0, 0, 441, 2680, 0,
662, 2680, 2615, 2562, 594, 2680, 2613, 2581, 642, 650,
655, 2680, 661, 0, 2680, 2557, 682, 2680, 2610, 2557,
2600, 2590, 2680, 0, 2680, 2575, 0, 2680, 0, 0,
2606, 0, 0, 2604, 2680, 0, 2680, 0, 2567, 2563,
738, 0, 2602, 2680, 2680, 0, 2680, 675, 2680, 766,
2680, 2680, 2680, 2680, 0, 2680, 601, 2680, 0, 2680,
0, 2564, 2560, 677, 2680, 691, 695, 2680, 697, 2680,
0, 2680, 2680, 0, 701, 2544, 2680, 819, 0, 2561,
2557, 2596, 2680, 2592, 2680, 2558, 2557, 0, 636, 2547,
664, 2581, 2544, 587, 2543, 2542, 2548, 662, 2535, 2549,
2537, 0, 2534, 2680, 2535, 2536, 2544, 2547, 675, 314,
2535, 2532, 2531, 683, 2572, 2680, 703, 2533, 0, 0,
875, 2680, 2572, 878, 2527, 2524, 2534, 0, 0, 713,
2680, 719, 2680, 723, 2680, 725, 2527, 705, 784, 870,
923, 882, 965, 716, 0, 2513, 2680, 2680, 2680, 2535,
0, 2524, 0, 0, 2533, 2522, 0, 2680, 0, 1000,
2546, 781, 864, 866, 865, 566, 870, 871, 638, 966,
782, 2530, 2519, 0, 1057, 2528, 2517, 2511, 2510, 2522,
2527, 2526, 2515, 2522, 0, 2519, 2502, 2521, 0, 2501,
2508, 2498, 2513, 2532, 2502, 2514, 2509, 2507, 2506, 2497,
2504, 2505, 2503, 2504, 768, 2485, 2503, 2490, 867, 2491,
2493, 2486, 2482, 2494, 733, 1027, 2680, 801, 1030, 990,
2497, 2488, 2482, 0, 0, 2489, 1092, 1024, 1131, 2504,
1070, 1151, 2680, 2478, 2486, 2488, 2472, 0, 2491, 1049,
553, 901, 883, 887, 159, 965, 1017, 892, 1035, 1062,
2485, 2469, 2483, 2467, 2680, 2680, 2470, 2458, 2457, 2460,
2472, 1076, 2472, 2457, 0, 0, 2457, 2458, 2472, 0,
2489, 2455, 2463, 2486, 2450, 2460, 0, 2465, 2456, 2452,
2444, 2444, 2448, 0, 860, 2459, 2446, 2459, 2445, 2440,
2456, 2483, 2680, 814, 1035, 2430, 2439, 2433, 2459, 2461,
1081, 1171, 1026, 961, 998, 2444, 2456, 2428, 2442, 2680,
1070, 1072, 1132, 1074, 1133, 1131, 1084, 1134, 894, 1138,
1085, 1136, 2426, 2440, 2424, 2438, 0, 2423, 0, 2425,
0, 1142, 2419, 2434, 0, 2426, 0, 2436, 2421, 2430,
2403, 2370, 2363, 2370, 2350, 2353, 0, 2363, 2345, 0,
2336, 2302, 2298, 2308, 2292, 2254, 2252, 2236, 2221, 2263,
1098, 2221, 2227, 2222, 1133, 1153, 1166, 2217, 2216, 0,
0, 1154, 1178, 610, 1174, 1176, 1179, 1180, 1181, 1188,
1190, 1191, 1193, 0, 0, 0, 0, 2218, 0, 2188,
2196, 2186, 2178, 2173, 2187, 2170, 2172, 2165, 2156, 2132,
2118, 0, 0, 2097, 0, 2108, 2112, 2099, 2092, 2105,
2082, 2086, 0, 0, 1210, 2680, 1214, 2680, 2081, 2680,
2100, 2680, 2102, 2083, 2078, 2077, 2071, 2070, 2069, 2066,
2065, 2061, 2058, 1192, 2007, 1981, 1970, 0, 1949, 0,
1932, 1920, 1911, 1915, 0, 1907, 0, 0, 0, 1903,
1921, 1920, 1894, 0, 1888, 1216, 2680, 1868, 1867, 1861,
1860, 1843, 1827, 1811, 1807, 1806, 1805, 1802, 1793, 1764,
1772, 1752, 0, 1761, 1768, 0, 1746, 1750, 1741, 1739,
1191, 1722, 0, 1225, 2680, 1229, 2680, 2680, 2680, 2680,
2680, 2680, 2680, 2680, 2680, 2680, 2680, 1737, 1707, 1712,
1704, 1667, 1668, 1664, 1647, 1663, 1639, 1186, 1638, 1656,
2680, 1646, 1622, 1605, 1615, 0, 1601, 1580, 1575, 1593,
1582, 1567, 1568, 1563, 1564, 1569, 1566, 0, 1542, 0,
1522, 1491, 1500, 1500, 1478, 1466, 1465, 1445, 1420, 1438,
2680, 1192, 1189, 1173, 1113, 2680, 1078, 1070, 1071, 986,
2680, 942, 2680, 865, 764, 757, 668, 2680, 2680, 666,
413, 311, 304, 189, 85, 0, 0, 2680, 1241, 1257,
1273, 1289, 1305, 1321, 1337, 1353, 1369, 1385, 1401, 1417,
1433, 1449, 1459, 1474, 1483, 1498, 1514, 1523, 1538, 1554,
1570, 1586, 1602, 1612, 1627, 1637, 1652, 1668, 1684, 1696,
1706, 1721, 1737, 1753, 1769, 1785, 1795, 1810, 1821, 1220,
1836, 1852, 1868, 1876, 1883, 1898, 1914, 1930, 1939, 1947,
1963, 1979, 1995, 2011, 2027, 2043, 2059, 2075, 2085, 2100,
2110, 2117, 2132, 2144, 2154, 2169, 2185, 2201, 2217, 2227,
2242, 2253, 2268, 2284, 2300, 2316, 2326, 2335, 2350, 2366,
2382, 2391, 2399, 2415, 2431, 2447
} ;
static const short int yy_def[857] =
{ 0,
768, 768, 769, 769, 770, 771, 772, 772, 768, 9,
773, 773, 768, 13, 774, 774, 775, 775, 776, 776,
777, 777, 778, 778, 768, 25, 779, 779, 780, 780,
781, 781, 768, 33, 768, 35, 782, 782, 768, 768,
768, 768, 768, 783, 768, 768, 768, 768, 784, 768,
785, 768, 768, 768, 768, 768, 768, 768, 768, 786,
787, 788, 768, 768, 768, 768, 768, 768, 789, 768,
789, 790, 791, 790, 790, 792, 768, 793, 768, 793,
768, 794, 794, 794, 793, 795, 768, 768, 795, 768,
768, 768, 796, 768, 768, 768, 768, 768, 768, 768,
768, 768, 768, 768, 787, 768, 768, 787, 797, 768,
768, 768, 798, 768, 787, 768, 799, 768, 799, 768,
800, 768, 801, 801, 801, 768, 768, 802, 768, 802,
803, 768, 803, 768, 804, 768, 804, 768, 805, 806,
806, 768, 806, 806, 768, 806, 807, 807, 807, 768,
768, 768, 768, 808, 768, 768, 768, 809, 809, 809,
809, 809, 809, 809, 809, 809, 809, 810, 809, 809,
809, 809, 809, 809, 809, 809, 768, 768, 811, 768,
768, 768, 768, 783, 768, 768, 768, 768, 768, 812,
813, 768, 768, 768, 768, 814, 815, 816, 768, 785,
768, 768, 768, 768, 817, 768, 768, 768, 818, 818,
786, 768, 768, 819, 768, 820, 768, 768, 768, 768,
768, 768, 768, 821, 768, 768, 822, 768, 823, 824,
824, 825, 826, 827, 768, 828, 768, 829, 829, 829,
768, 830, 768, 768, 768, 831, 768, 768, 768, 832,
768, 768, 768, 768, 833, 768, 834, 768, 834, 768,
835, 835, 835, 836, 768, 836, 837, 768, 837, 768,
838, 768, 768, 839, 839, 839, 768, 768, 840, 840,
840, 768, 768, 841, 768, 768, 768, 842, 842, 842,
842, 842, 842, 842, 842, 842, 842, 842, 842, 842,
842, 842, 842, 768, 842, 842, 842, 842, 842, 842,
842, 842, 842, 842, 843, 768, 768, 768, 844, 845,
846, 768, 768, 768, 768, 768, 768, 847, 848, 849,
768, 849, 768, 850, 768, 850, 768, 851, 851, 851,
768, 851, 851, 768, 852, 853, 768, 768, 768, 768,
854, 768, 825, 826, 829, 829, 241, 768, 241, 241,
832, 832, 832, 832, 832, 832, 832, 832, 832, 832,
832, 835, 835, 278, 278, 840, 840, 768, 768, 842,
842, 842, 842, 842, 842, 842, 842, 842, 842, 842,
842, 842, 842, 842, 842, 842, 842, 842, 842, 842,
842, 842, 842, 842, 842, 842, 842, 842, 768, 842,
842, 842, 842, 768, 846, 846, 768, 846, 846, 768,
768, 768, 768, 847, 848, 768, 341, 851, 343, 341,
851, 343, 768, 768, 768, 829, 829, 360, 768, 832,
832, 832, 832, 832, 832, 832, 832, 832, 832, 832,
835, 835, 840, 840, 768, 768, 842, 842, 842, 842,
842, 842, 842, 842, 842, 842, 842, 842, 842, 842,
842, 842, 842, 842, 842, 842, 842, 842, 842, 842,
842, 842, 842, 842, 768, 768, 768, 842, 842, 842,
842, 768, 768, 846, 846, 768, 768, 768, 768, 427,
851, 343, 851, 851, 851, 768, 768, 829, 829, 768,
832, 832, 832, 832, 832, 832, 832, 832, 832, 832,
832, 832, 835, 835, 840, 840, 842, 842, 842, 842,
842, 842, 842, 842, 842, 842, 842, 842, 842, 842,
842, 842, 842, 842, 842, 842, 842, 842, 842, 842,
842, 768, 768, 768, 768, 842, 842, 842, 842, 768,
855, 768, 768, 768, 851, 851, 851, 768, 768, 829,
829, 832, 832, 832, 832, 832, 832, 832, 832, 832,
832, 832, 832, 835, 835, 840, 840, 842, 842, 842,
842, 842, 842, 842, 842, 842, 842, 842, 842, 842,
842, 842, 842, 842, 842, 842, 768, 768, 768, 768,
842, 842, 842, 842, 855, 768, 855, 768, 768, 768,
768, 768, 832, 832, 832, 832, 832, 832, 832, 832,
832, 832, 832, 832, 842, 842, 842, 842, 842, 842,
842, 842, 842, 842, 842, 842, 842, 842, 842, 768,
768, 768, 768, 842, 842, 856, 768, 768, 768, 768,
768, 768, 768, 768, 768, 768, 768, 768, 832, 842,
842, 842, 842, 842, 842, 842, 842, 842, 768, 768,
768, 768, 842, 856, 768, 856, 768, 768, 768, 768,
768, 768, 768, 768, 768, 768, 768, 768, 842, 842,
842, 842, 842, 842, 842, 768, 768, 768, 768, 768,
768, 842, 842, 842, 842, 842, 842, 842, 768, 768,
768, 768, 768, 768, 842, 842, 842, 842, 842, 842,
768, 768, 768, 768, 768, 768, 842, 842, 842, 842,
768, 768, 768, 768, 768, 768, 842, 842, 842, 842,
768, 768, 768, 768, 842, 842, 842, 768, 768, 842,
842, 842, 842, 842, 842, 842, 842, 0, 768, 768,
768, 768, 768, 768, 768, 768, 768, 768, 768, 768,
768, 768, 768, 768, 768, 768, 768, 768, 768, 768,
768, 768, 768, 768, 768, 768, 768, 768, 768, 768,
768, 768, 768, 768, 768, 768, 768, 768, 768, 768,
768, 768, 768, 768, 768, 768, 768, 768, 768, 768,
768, 768, 768, 768, 768, 768, 768, 768, 768, 768,
768, 768, 768, 768, 768, 768, 768, 768, 768, 768,
768, 768, 768, 768, 768, 768, 768, 768, 768, 768,
768, 768, 768, 768, 768, 768
} ;
static const short int yy_nxt[2738] =
{ 0,
40, 41, 42, 43, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 44, 44, 40, 40, 40, 40, 44, 44,
44, 44, 44, 44, 44, 44, 44, 44, 44, 44,
44, 44, 44, 44, 44, 44, 44, 44, 44, 44,
44, 44, 44, 44, 40, 40, 40, 40, 45, 46,
47, 40, 48, 40, 49, 40, 40, 40, 40, 40,
40, 50, 40, 40, 40, 40, 40, 40, 40, 51,
51, 40, 40, 40, 40, 51, 51, 51, 51, 51,
51, 51, 51, 51, 51, 51, 51, 51, 51, 51,
51, 51, 51, 51, 51, 51, 51, 51, 51, 51,
51, 40, 40, 40, 53, 54, 55, 56, 767, 57,
70, 71, 58, 58, 58, 129, 130, 58, 73, 70,
74, 232, 59, 233, 75, 96, 97, 60, 61, 87,
88, 89, 87, 88, 89, 98, 96, 97, 99, 99,
99, 102, 103, 104, 129, 130, 98, 132, 133, 99,
99, 99, 102, 103, 104, 134, 292, 62, 58, 58,
63, 64, 65, 56, 105, 57, 66, 439, 58, 58,
58, 40, 188, 58, 293, 105, 40, 296, 67, 100,
111, 112, 303, 60, 61, 300, 68, 132, 133, 301,
100, 113, 304, 107, 108, 134, 109, 297, 107, 108,
517, 109, 114, 115, 116, 181, 182, 183, 185, 186,
187, 189, 766, 62, 58, 58, 78, 78, 79, 80,
78, 78, 78, 78, 78, 78, 81, 78, 78, 78,
78, 78, 78, 78, 78, 78, 78, 78, 82, 82,
78, 78, 78, 78, 82, 82, 82, 82, 82, 82,
82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
82, 82, 83, 82, 82, 82, 82, 82, 82, 84,
78, 78, 78, 90, 90, 40, 90, 90, 90, 90,
90, 90, 90, 91, 90, 91, 90, 90, 90, 90,
90, 90, 90, 90, 92, 93, 93, 90, 90, 90,
90, 93, 93, 93, 93, 93, 93, 93, 93, 93,
93, 93, 93, 93, 93, 93, 93, 93, 93, 93,
93, 93, 93, 93, 93, 93, 93, 90, 90, 90,
111, 112, 178, 404, 179, 178, 405, 179, 206, 206,
207, 113, 210, 211, 765, 180, 180, 180, 180, 180,
180, 764, 114, 115, 116, 117, 117, 118, 119, 120,
117, 117, 117, 121, 117, 117, 117, 117, 117, 122,
117, 117, 117, 117, 117, 117, 117, 123, 123, 117,
117, 117, 117, 123, 123, 123, 123, 123, 123, 123,
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
123, 124, 123, 123, 123, 123, 123, 123, 125, 126,
117, 127, 136, 137, 138, 136, 137, 138, 215, 215,
215, 248, 248, 248, 252, 265, 266, 265, 266, 268,
269, 268, 269, 331, 332, 139, 673, 252, 139, 140,
141, 142, 143, 140, 140, 140, 144, 140, 140, 145,
140, 140, 140, 146, 140, 140, 140, 140, 140, 140,
140, 147, 147, 140, 140, 140, 140, 147, 147, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 147,
147, 147, 147, 147, 147, 148, 147, 147, 147, 147,
147, 147, 149, 140, 140, 140, 150, 151, 152, 153,
154, 150, 150, 150, 150, 150, 150, 150, 150, 150,
150, 150, 155, 156, 150, 150, 157, 150, 150, 150,
150, 150, 150, 150, 150, 158, 159, 160, 161, 162,
163, 164, 164, 165, 164, 164, 166, 167, 168, 169,
170, 164, 171, 172, 164, 173, 174, 175, 164, 176,
150, 150, 150, 191, 201, 202, 203, 213, 213, 213,
204, 439, 224, 306, 188, 217, 218, 219, 213, 213,
213, 220, 513, 307, 439, 192, 308, 193, 221, 193,
213, 213, 213, 222, 258, 193, 335, 336, 193, 194,
195, 223, 193, 196, 214, 213, 213, 213, 197, 258,
198, 259, 444, 189, 275, 214, 289, 387, 205, 225,
276, 388, 290, 317, 317, 317, 259, 214, 439, 205,
181, 182, 183, 185, 186, 187, 321, 322, 323, 321,
322, 323, 214, 321, 322, 323, 321, 322, 323, 625,
324, 324, 324, 324, 324, 324, 439, 324, 324, 324,
324, 324, 324, 201, 202, 203, 339, 340, 341, 204,
342, 342, 342, 380, 339, 340, 344, 344, 344, 265,
266, 325, 448, 217, 218, 219, 326, 381, 327, 220,
248, 248, 248, 265, 266, 383, 221, 268, 269, 268,
269, 222, 275, 763, 402, 762, 392, 343, 276, 223,
393, 409, 384, 403, 410, 331, 332, 205, 317, 317,
317, 331, 332, 411, 412, 335, 336, 335, 336, 339,
340, 212, 212, 212, 413, 493, 494, 205, 357, 357,
358, 359, 357, 357, 357, 357, 357, 357, 360, 357,
357, 357, 357, 357, 357, 357, 357, 357, 357, 357,
360, 360, 357, 357, 357, 357, 360, 360, 360, 360,
360, 360, 360, 360, 360, 360, 360, 360, 360, 360,
360, 360, 360, 360, 360, 360, 360, 360, 360, 360,
360, 360, 357, 357, 357, 362, 363, 364, 365, 439,
439, 366, 427, 417, 494, 480, 367, 761, 339, 340,
368, 481, 760, 369, 450, 370, 493, 494, 371, 374,
374, 440, 374, 374, 374, 374, 374, 374, 374, 375,
374, 374, 374, 374, 374, 374, 374, 374, 374, 374,
374, 375, 375, 374, 374, 374, 374, 375, 375, 375,
375, 375, 375, 375, 375, 375, 375, 375, 375, 375,
375, 375, 375, 375, 375, 375, 375, 375, 375, 375,
375, 375, 375, 374, 374, 374, 416, 417, 418, 420,
322, 323, 439, 439, 439, 428, 428, 428, 439, 439,
419, 419, 419, 324, 324, 324, 338, 431, 431, 431,
759, 439, 443, 552, 441, 439, 339, 340, 442, 553,
439, 485, 439, 445, 486, 487, 516, 446, 515, 439,
447, 520, 429, 338, 338, 580, 338, 338, 338, 338,
338, 338, 338, 338, 338, 338, 338, 338, 338, 338,
338, 338, 338, 338, 338, 430, 430, 339, 340, 514,
338, 338, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 338, 338, 338,
432, 432, 432, 439, 439, 339, 340, 432, 758, 339,
340, 420, 322, 323, 432, 432, 432, 432, 432, 432,
360, 360, 518, 438, 360, 360, 360, 360, 360, 360,
449, 360, 360, 360, 360, 360, 360, 360, 360, 360,
360, 360, 339, 340, 360, 360, 360, 360, 416, 417,
418, 495, 417, 418, 757, 439, 495, 417, 418, 501,
501, 501, 419, 419, 419, 419, 419, 419, 339, 340,
339, 340, 209, 439, 360, 360, 360, 375, 375, 519,
375, 375, 375, 375, 375, 375, 375, 439, 375, 375,
375, 375, 375, 375, 375, 375, 375, 375, 375, 521,
439, 375, 375, 375, 375, 504, 504, 504, 439, 532,
439, 511, 439, 512, 339, 340, 566, 566, 566, 522,
616, 617, 439, 439, 638, 339, 340, 756, 573, 755,
533, 375, 375, 375, 500, 500, 534, 578, 582, 572,
575, 500, 500, 500, 500, 500, 500, 500, 500, 500,
500, 500, 500, 500, 500, 500, 500, 500, 500, 500,
500, 500, 500, 500, 500, 500, 502, 502, 502, 439,
439, 439, 439, 502, 439, 754, 439, 339, 340, 338,
502, 502, 502, 502, 502, 502, 505, 505, 505, 581,
576, 583, 439, 505, 574, 577, 579, 339, 340, 590,
505, 505, 505, 505, 505, 505, 567, 567, 567, 591,
339, 340, 439, 567, 439, 623, 439, 439, 439, 439,
567, 567, 567, 567, 567, 567, 439, 624, 439, 439,
439, 439, 616, 617, 626, 628, 616, 617, 685, 686,
753, 708, 752, 632, 627, 751, 629, 685, 686, 630,
634, 685, 686, 302, 302, 721, 631, 633, 709, 722,
669, 52, 52, 52, 52, 52, 52, 52, 52, 52,
52, 52, 52, 52, 52, 52, 52, 69, 69, 69,
69, 69, 69, 69, 69, 69, 69, 69, 69, 69,
69, 69, 69, 72, 72, 72, 72, 72, 72, 72,
72, 72, 72, 72, 72, 72, 72, 72, 72, 76,
76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
76, 76, 76, 76, 76, 86, 86, 86, 86, 86,
86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
86, 40, 40, 40, 40, 40, 40, 40, 40, 40,
40, 40, 40, 40, 40, 40, 40, 95, 95, 95,
95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
95, 95, 95, 101, 101, 101, 101, 101, 101, 101,
101, 101, 101, 101, 101, 101, 101, 101, 101, 106,
106, 106, 106, 106, 106, 106, 106, 106, 106, 106,
106, 106, 106, 106, 106, 110, 110, 110, 110, 110,
110, 110, 110, 110, 110, 110, 110, 110, 110, 110,
110, 128, 128, 128, 128, 128, 128, 128, 128, 128,
128, 128, 128, 128, 128, 128, 128, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 135, 135, 135, 135, 135, 135, 135,
135, 135, 135, 135, 135, 135, 135, 135, 135, 177,
177, 177, 177, 177, 177, 177, 177, 177, 177, 177,
177, 177, 177, 177, 177, 184, 184, 184, 184, 750,
749, 184, 184, 184, 190, 190, 190, 190, 190, 190,
190, 190, 190, 190, 190, 190, 190, 190, 190, 200,
200, 200, 200, 748, 747, 200, 200, 200, 209, 746,
209, 209, 209, 209, 209, 209, 209, 209, 209, 209,
209, 209, 209, 209, 212, 745, 212, 212, 212, 212,
212, 212, 212, 212, 212, 212, 212, 212, 212, 212,
216, 216, 216, 744, 743, 216, 216, 216, 227, 742,
227, 227, 227, 227, 227, 227, 227, 227, 227, 227,
227, 227, 227, 227, 229, 741, 229, 229, 229, 229,
229, 229, 229, 229, 229, 229, 229, 229, 229, 229,
230, 740, 230, 230, 230, 230, 230, 230, 230, 230,
230, 230, 230, 230, 230, 230, 234, 234, 234, 234,
234, 234, 234, 234, 234, 234, 234, 234, 234, 234,
234, 234, 236, 739, 236, 236, 738, 236, 236, 236,
737, 736, 236, 236, 735, 734, 733, 236, 238, 238,
238, 238, 732, 731, 238, 238, 238, 242, 730, 242,
242, 242, 242, 242, 242, 242, 242, 242, 242, 242,
242, 242, 242, 246, 246, 246, 246, 729, 728, 246,
246, 246, 251, 727, 251, 251, 251, 251, 251, 251,
251, 251, 251, 251, 251, 251, 251, 251, 254, 726,
254, 254, 254, 254, 254, 254, 254, 254, 254, 725,
254, 254, 254, 254, 255, 724, 723, 720, 255, 255,
255, 255, 719, 718, 255, 255, 257, 717, 257, 257,
257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
257, 257, 261, 261, 261, 261, 716, 715, 261, 261,
261, 264, 264, 264, 264, 264, 264, 264, 264, 264,
264, 264, 264, 264, 264, 264, 264, 267, 267, 267,
267, 714, 267, 267, 267, 267, 267, 267, 267, 267,
267, 267, 267, 271, 713, 712, 271, 271, 271, 271,
271, 271, 271, 711, 271, 271, 271, 271, 271, 273,
710, 273, 273, 273, 273, 273, 273, 273, 273, 273,
273, 273, 273, 273, 273, 274, 707, 274, 274, 706,
274, 274, 274, 705, 704, 274, 274, 703, 702, 701,
274, 279, 279, 279, 279, 700, 699, 279, 279, 279,
284, 698, 284, 284, 284, 284, 284, 284, 284, 284,
284, 284, 284, 284, 284, 284, 288, 288, 697, 288,
288, 696, 695, 694, 288, 288, 315, 693, 315, 315,
315, 315, 315, 315, 315, 315, 315, 315, 315, 315,
315, 315, 319, 692, 319, 319, 319, 319, 319, 319,
319, 319, 319, 319, 319, 319, 319, 319, 320, 691,
320, 320, 320, 320, 320, 320, 320, 320, 320, 320,
320, 320, 320, 320, 328, 328, 690, 689, 328, 328,
328, 329, 329, 688, 687, 329, 329, 329, 330, 330,
330, 330, 330, 330, 330, 330, 330, 330, 330, 330,
330, 330, 330, 330, 334, 334, 334, 334, 334, 334,
334, 334, 334, 334, 334, 334, 334, 334, 334, 334,
338, 683, 338, 338, 338, 338, 338, 338, 338, 338,
338, 682, 338, 338, 338, 338, 345, 345, 681, 680,
679, 678, 345, 346, 346, 346, 346, 677, 676, 346,
346, 346, 346, 351, 675, 351, 351, 351, 351, 351,
351, 351, 351, 351, 351, 351, 351, 351, 351, 227,
674, 227, 227, 227, 227, 227, 227, 227, 227, 227,
227, 227, 227, 227, 227, 229, 673, 229, 229, 229,
229, 229, 229, 229, 229, 229, 229, 229, 229, 229,
229, 230, 672, 230, 230, 230, 230, 230, 230, 230,
230, 230, 230, 230, 230, 230, 230, 353, 671, 353,
353, 353, 353, 353, 353, 353, 353, 353, 353, 353,
353, 353, 353, 354, 670, 354, 354, 354, 354, 354,
354, 354, 354, 354, 354, 354, 354, 354, 354, 234,
234, 234, 234, 234, 234, 234, 234, 234, 234, 234,
234, 234, 234, 234, 234, 236, 668, 236, 236, 667,
236, 236, 236, 666, 665, 236, 236, 664, 663, 662,
236, 238, 238, 238, 238, 661, 660, 238, 238, 238,
242, 659, 242, 242, 242, 242, 242, 242, 242, 242,
242, 242, 242, 242, 242, 242, 246, 246, 246, 246,
658, 657, 246, 246, 246, 361, 361, 656, 655, 654,
361, 361, 255, 653, 652, 651, 255, 255, 255, 255,
650, 649, 255, 255, 257, 648, 257, 257, 257, 257,
257, 257, 257, 257, 257, 257, 257, 257, 257, 257,
261, 261, 261, 261, 647, 646, 261, 261, 261, 264,
264, 264, 264, 264, 264, 264, 264, 264, 264, 264,
264, 264, 264, 264, 264, 267, 267, 267, 267, 645,
267, 267, 267, 267, 267, 267, 267, 267, 267, 267,
267, 271, 644, 643, 271, 271, 271, 271, 271, 271,
271, 642, 271, 271, 271, 271, 271, 274, 641, 274,
274, 640, 274, 274, 274, 639, 638, 274, 274, 637,
636, 635, 274, 279, 279, 279, 279, 622, 621, 279,
279, 279, 284, 620, 284, 284, 284, 284, 284, 284,
284, 284, 284, 284, 284, 284, 284, 284, 288, 288,
619, 288, 288, 618, 560, 614, 288, 288, 315, 613,
315, 315, 315, 315, 315, 315, 315, 315, 315, 315,
315, 315, 315, 315, 319, 612, 319, 319, 319, 319,
319, 319, 319, 319, 319, 319, 319, 319, 319, 319,
320, 611, 320, 320, 320, 320, 320, 320, 320, 320,
320, 320, 320, 320, 320, 320, 415, 415, 415, 415,
415, 415, 415, 415, 415, 415, 415, 415, 415, 415,
415, 415, 424, 424, 424, 424, 610, 609, 424, 424,
424, 425, 425, 425, 425, 608, 607, 425, 425, 425,
330, 330, 330, 330, 330, 330, 330, 330, 330, 330,
330, 330, 330, 330, 330, 330, 334, 334, 334, 334,
334, 334, 334, 334, 334, 334, 334, 334, 334, 334,
334, 334, 338, 606, 338, 338, 338, 338, 338, 338,
338, 338, 338, 605, 338, 338, 338, 338, 433, 433,
604, 603, 602, 601, 433, 346, 346, 346, 346, 600,
599, 346, 346, 346, 346, 351, 598, 351, 351, 351,
351, 351, 351, 351, 351, 351, 351, 351, 351, 351,
351, 615, 615, 615, 615, 615, 615, 615, 615, 615,
615, 615, 615, 615, 615, 615, 615, 684, 684, 684,
684, 684, 684, 684, 684, 684, 684, 684, 684, 684,
684, 684, 684, 597, 596, 595, 594, 593, 592, 589,
588, 587, 586, 585, 584, 571, 570, 569, 568, 565,
564, 563, 562, 561, 560, 559, 558, 557, 556, 555,
554, 551, 550, 549, 548, 547, 546, 545, 544, 543,
542, 541, 540, 539, 538, 537, 536, 535, 531, 530,
529, 528, 527, 526, 525, 524, 523, 510, 509, 508,
507, 506, 503, 499, 498, 497, 496, 492, 491, 490,
489, 488, 484, 483, 482, 479, 478, 477, 476, 475,
474, 473, 472, 471, 470, 469, 468, 467, 466, 465,
464, 463, 462, 461, 460, 459, 458, 457, 456, 455,
454, 453, 452, 451, 439, 437, 436, 435, 434, 347,
426, 423, 422, 421, 322, 414, 316, 408, 407, 406,
401, 400, 399, 398, 397, 396, 395, 394, 391, 390,
389, 386, 385, 382, 379, 378, 285, 282, 377, 376,
278, 373, 372, 243, 356, 355, 235, 231, 352, 350,
349, 348, 218, 347, 337, 206, 333, 202, 318, 186,
182, 316, 314, 313, 312, 311, 310, 309, 305, 299,
298, 295, 294, 291, 287, 286, 285, 283, 282, 281,
280, 260, 278, 277, 272, 270, 263, 262, 260, 256,
250, 253, 250, 249, 247, 245, 244, 243, 241, 240,
239, 237, 235, 228, 231, 228, 226, 218, 208, 202,
199, 186, 182, 768, 94, 94, 85, 77, 77, 39,
768, 768, 768, 768, 768, 768, 768, 768, 768, 768,
768, 768, 768, 768, 768, 768, 768, 768, 768, 768,
768, 768, 768, 768, 768, 768, 768, 768, 768, 768,
768, 768, 768, 768, 768, 768, 768, 768, 768, 768,
768, 768, 768, 768, 768, 768, 768, 768, 768, 768,
768, 768, 768, 768, 768, 768, 768
} ;
static const short int yy_chk[2738] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 3, 3, 3, 3, 765, 3,
5, 5, 3, 3, 3, 27, 27, 3, 6, 6,
6, 75, 3, 75, 6, 17, 17, 3, 3, 11,
11, 11, 12, 12, 12, 17, 18, 18, 17, 17,
17, 19, 19, 19, 28, 28, 18, 29, 29, 18,
18, 18, 20, 20, 20, 29, 160, 3, 3, 3,
4, 4, 4, 4, 19, 4, 4, 445, 4, 4,
4, 21, 48, 4, 160, 20, 22, 163, 4, 17,
23, 23, 168, 4, 4, 167, 4, 30, 30, 167,
18, 23, 168, 21, 21, 30, 21, 163, 22, 22,
445, 22, 23, 23, 23, 41, 41, 41, 45, 45,
45, 48, 764, 4, 4, 4, 9, 9, 9, 9,
9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
9, 9, 9, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
24, 24, 37, 310, 37, 38, 310, 38, 57, 57,
57, 24, 60, 60, 763, 37, 37, 37, 38, 38,
38, 762, 24, 24, 24, 25, 25, 25, 25, 25,
25, 25, 25, 25, 25, 25, 25, 25, 25, 25,
25, 25, 25, 25, 25, 25, 25, 25, 25, 25,
25, 25, 25, 25, 25, 25, 25, 25, 25, 25,
25, 25, 25, 25, 25, 25, 25, 25, 25, 25,
25, 25, 25, 25, 25, 25, 25, 25, 25, 25,
25, 25, 31, 31, 31, 32, 32, 32, 62, 62,
62, 99, 99, 99, 109, 128, 128, 130, 130, 131,
131, 133, 133, 198, 198, 31, 761, 109, 32, 33,
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
33, 33, 33, 33, 33, 33, 35, 35, 35, 35,
35, 35, 35, 35, 35, 35, 35, 35, 35, 35,
35, 35, 35, 35, 35, 35, 35, 35, 35, 35,
35, 35, 35, 35, 35, 35, 35, 35, 35, 35,
35, 35, 35, 35, 35, 35, 35, 35, 35, 35,
35, 35, 35, 35, 35, 35, 35, 35, 35, 35,
35, 35, 35, 49, 53, 53, 53, 61, 61, 61,
53, 441, 66, 170, 188, 63, 63, 63, 105, 105,
105, 63, 441, 170, 366, 49, 170, 49, 63, 49,
108, 108, 108, 63, 121, 49, 205, 205, 49, 49,
49, 63, 49, 49, 61, 115, 115, 115, 49, 257,
49, 121, 366, 188, 141, 105, 158, 294, 53, 66,
141, 294, 158, 180, 180, 180, 257, 108, 574, 63,
181, 181, 181, 185, 185, 185, 192, 192, 192, 193,
193, 193, 115, 194, 194, 194, 195, 195, 195, 574,
192, 192, 192, 193, 193, 193, 369, 194, 194, 194,
195, 195, 195, 201, 201, 201, 209, 209, 210, 201,
211, 211, 211, 289, 210, 210, 213, 213, 213, 264,
264, 192, 369, 217, 217, 217, 194, 289, 195, 217,
248, 248, 248, 266, 266, 291, 217, 267, 267, 269,
269, 217, 275, 760, 309, 757, 298, 211, 275, 217,
298, 314, 291, 309, 314, 330, 330, 201, 317, 317,
317, 332, 332, 314, 314, 334, 334, 336, 336, 338,
338, 344, 344, 344, 314, 415, 415, 217, 241, 241,
241, 241, 241, 241, 241, 241, 241, 241, 241, 241,
241, 241, 241, 241, 241, 241, 241, 241, 241, 241,
241, 241, 241, 241, 241, 241, 241, 241, 241, 241,
241, 241, 241, 241, 241, 241, 241, 241, 241, 241,
241, 241, 241, 241, 241, 241, 241, 241, 241, 241,
241, 241, 241, 241, 241, 250, 250, 250, 250, 362,
371, 250, 339, 418, 418, 405, 250, 756, 339, 339,
250, 405, 755, 250, 371, 250, 494, 494, 250, 278,
278, 362, 278, 278, 278, 278, 278, 278, 278, 278,
278, 278, 278, 278, 278, 278, 278, 278, 278, 278,
278, 278, 278, 278, 278, 278, 278, 278, 278, 278,
278, 278, 278, 278, 278, 278, 278, 278, 278, 278,
278, 278, 278, 278, 278, 278, 278, 278, 278, 278,
278, 278, 278, 278, 278, 278, 321, 321, 321, 324,
324, 324, 363, 365, 364, 340, 340, 340, 367, 368,
321, 321, 321, 324, 324, 324, 340, 342, 342, 342,
754, 443, 365, 485, 363, 444, 342, 342, 364, 485,
448, 409, 519, 367, 409, 409, 444, 368, 443, 442,
368, 448, 340, 341, 341, 519, 341, 341, 341, 341,
341, 341, 341, 341, 341, 341, 341, 341, 341, 341,
341, 341, 341, 341, 341, 341, 341, 341, 341, 442,
341, 341, 341, 341, 341, 341, 341, 341, 341, 341,
341, 341, 341, 341, 341, 341, 341, 341, 341, 341,
341, 341, 341, 341, 341, 341, 341, 341, 341, 341,
343, 343, 343, 446, 370, 504, 504, 343, 752, 343,
343, 420, 420, 420, 343, 343, 343, 343, 343, 343,
360, 360, 446, 360, 360, 360, 360, 360, 360, 360,
370, 360, 360, 360, 360, 360, 360, 360, 360, 360,
360, 360, 505, 505, 360, 360, 360, 360, 416, 416,
416, 419, 419, 419, 750, 447, 495, 495, 495, 428,
428, 428, 416, 416, 416, 419, 419, 419, 428, 428,
503, 503, 503, 449, 360, 360, 360, 375, 375, 447,
375, 375, 375, 375, 375, 375, 375, 440, 375, 375,
375, 375, 375, 375, 375, 375, 375, 375, 375, 449,
450, 375, 375, 375, 375, 431, 431, 431, 511, 462,
512, 440, 514, 440, 431, 431, 501, 501, 501, 450,
561, 561, 517, 521, 749, 501, 501, 748, 512, 747,
462, 375, 375, 375, 427, 427, 462, 517, 521, 511,
514, 427, 427, 427, 427, 427, 427, 427, 427, 427,
427, 427, 427, 427, 427, 427, 427, 427, 427, 427,
427, 427, 427, 427, 427, 427, 429, 429, 429, 516,
513, 515, 518, 429, 522, 745, 520, 565, 565, 565,
429, 429, 429, 429, 429, 429, 432, 432, 432, 520,
515, 522, 572, 432, 513, 516, 518, 566, 566, 532,
432, 432, 432, 432, 432, 432, 502, 502, 502, 532,
567, 567, 575, 502, 576, 572, 573, 577, 578, 579,
502, 502, 502, 502, 502, 502, 580, 573, 581, 582,
634, 583, 615, 615, 575, 577, 617, 617, 656, 656,
744, 681, 743, 581, 576, 742, 578, 684, 684, 579,
583, 686, 686, 810, 810, 708, 580, 582, 681, 708,
634, 769, 769, 769, 769, 769, 769, 769, 769, 769,
769, 769, 769, 769, 769, 769, 769, 770, 770, 770,
770, 770, 770, 770, 770, 770, 770, 770, 770, 770,
770, 770, 770, 771, 771, 771, 771, 771, 771, 771,
771, 771, 771, 771, 771, 771, 771, 771, 771, 772,
772, 772, 772, 772, 772, 772, 772, 772, 772, 772,
772, 772, 772, 772, 772, 773, 773, 773, 773, 773,
773, 773, 773, 773, 773, 773, 773, 773, 773, 773,
773, 774, 774, 774, 774, 774, 774, 774, 774, 774,
774, 774, 774, 774, 774, 774, 774, 775, 775, 775,
775, 775, 775, 775, 775, 775, 775, 775, 775, 775,
775, 775, 775, 776, 776, 776, 776, 776, 776, 776,
776, 776, 776, 776, 776, 776, 776, 776, 776, 777,
777, 777, 777, 777, 777, 777, 777, 777, 777, 777,
777, 777, 777, 777, 777, 778, 778, 778, 778, 778,
778, 778, 778, 778, 778, 778, 778, 778, 778, 778,
778, 779, 779, 779, 779, 779, 779, 779, 779, 779,
779, 779, 779, 779, 779, 779, 779, 780, 780, 780,
780, 780, 780, 780, 780, 780, 780, 780, 780, 780,
780, 780, 780, 781, 781, 781, 781, 781, 781, 781,
781, 781, 781, 781, 781, 781, 781, 781, 781, 782,
782, 782, 782, 782, 782, 782, 782, 782, 782, 782,
782, 782, 782, 782, 782, 783, 783, 783, 783, 740,
739, 783, 783, 783, 784, 784, 784, 784, 784, 784,
784, 784, 784, 784, 784, 784, 784, 784, 784, 785,
785, 785, 785, 738, 737, 785, 785, 785, 786, 736,
786, 786, 786, 786, 786, 786, 786, 786, 786, 786,
786, 786, 786, 786, 787, 735, 787, 787, 787, 787,
787, 787, 787, 787, 787, 787, 787, 787, 787, 787,
788, 788, 788, 734, 733, 788, 788, 788, 789, 732,
789, 789, 789, 789, 789, 789, 789, 789, 789, 789,
789, 789, 789, 789, 790, 731, 790, 790, 790, 790,
790, 790, 790, 790, 790, 790, 790, 790, 790, 790,
791, 729, 791, 791, 791, 791, 791, 791, 791, 791,
791, 791, 791, 791, 791, 791, 792, 792, 792, 792,
792, 792, 792, 792, 792, 792, 792, 792, 792, 792,
792, 792, 793, 727, 793, 793, 726, 793, 793, 793,
725, 724, 793, 793, 723, 722, 721, 793, 794, 794,
794, 794, 720, 719, 794, 794, 794, 795, 718, 795,
795, 795, 795, 795, 795, 795, 795, 795, 795, 795,
795, 795, 795, 796, 796, 796, 796, 717, 715, 796,
796, 796, 797, 714, 797, 797, 797, 797, 797, 797,
797, 797, 797, 797, 797, 797, 797, 797, 798, 713,
798, 798, 798, 798, 798, 798, 798, 798, 798, 712,
798, 798, 798, 798, 799, 710, 709, 707, 799, 799,
799, 799, 706, 705, 799, 799, 800, 704, 800, 800,
800, 800, 800, 800, 800, 800, 800, 800, 800, 800,
800, 800, 801, 801, 801, 801, 703, 702, 801, 801,
801, 802, 802, 802, 802, 802, 802, 802, 802, 802,
802, 802, 802, 802, 802, 802, 802, 803, 803, 803,
803, 701, 803, 803, 803, 803, 803, 803, 803, 803,
803, 803, 803, 804, 700, 699, 804, 804, 804, 804,
804, 804, 804, 698, 804, 804, 804, 804, 804, 805,
682, 805, 805, 805, 805, 805, 805, 805, 805, 805,
805, 805, 805, 805, 805, 806, 680, 806, 806, 679,
806, 806, 806, 678, 677, 806, 806, 675, 674, 672,
806, 807, 807, 807, 807, 671, 670, 807, 807, 807,
808, 669, 808, 808, 808, 808, 808, 808, 808, 808,
808, 808, 808, 808, 808, 808, 809, 809, 668, 809,
809, 667, 666, 665, 809, 809, 811, 664, 811, 811,
811, 811, 811, 811, 811, 811, 811, 811, 811, 811,
811, 811, 812, 663, 812, 812, 812, 812, 812, 812,
812, 812, 812, 812, 812, 812, 812, 812, 813, 662,
813, 813, 813, 813, 813, 813, 813, 813, 813, 813,
813, 813, 813, 813, 814, 814, 661, 660, 814, 814,
814, 815, 815, 659, 658, 815, 815, 815, 816, 816,
816, 816, 816, 816, 816, 816, 816, 816, 816, 816,
816, 816, 816, 816, 817, 817, 817, 817, 817, 817,
817, 817, 817, 817, 817, 817, 817, 817, 817, 817,
818, 655, 818, 818, 818, 818, 818, 818, 818, 818,
818, 653, 818, 818, 818, 818, 819, 819, 652, 651,
650, 646, 819, 820, 820, 820, 820, 644, 643, 820,
820, 820, 820, 821, 642, 821, 821, 821, 821, 821,
821, 821, 821, 821, 821, 821, 821, 821, 821, 822,
641, 822, 822, 822, 822, 822, 822, 822, 822, 822,
822, 822, 822, 822, 822, 823, 639, 823, 823, 823,
823, 823, 823, 823, 823, 823, 823, 823, 823, 823,
823, 824, 637, 824, 824, 824, 824, 824, 824, 824,
824, 824, 824, 824, 824, 824, 824, 825, 636, 825,
825, 825, 825, 825, 825, 825, 825, 825, 825, 825,
825, 825, 825, 826, 635, 826, 826, 826, 826, 826,
826, 826, 826, 826, 826, 826, 826, 826, 826, 827,
827, 827, 827, 827, 827, 827, 827, 827, 827, 827,
827, 827, 827, 827, 827, 828, 633, 828, 828, 632,
828, 828, 828, 631, 630, 828, 828, 629, 628, 627,
828, 829, 829, 829, 829, 626, 625, 829, 829, 829,
830, 624, 830, 830, 830, 830, 830, 830, 830, 830,
830, 830, 830, 830, 830, 830, 831, 831, 831, 831,
623, 621, 831, 831, 831, 832, 832, 619, 612, 611,
832, 832, 833, 610, 609, 608, 833, 833, 833, 833,
607, 606, 833, 833, 834, 604, 834, 834, 834, 834,
834, 834, 834, 834, 834, 834, 834, 834, 834, 834,
835, 835, 835, 835, 601, 600, 835, 835, 835, 836,
836, 836, 836, 836, 836, 836, 836, 836, 836, 836,
836, 836, 836, 836, 836, 837, 837, 837, 837, 599,
837, 837, 837, 837, 837, 837, 837, 837, 837, 837,
837, 838, 598, 597, 838, 838, 838, 838, 838, 838,
838, 596, 838, 838, 838, 838, 838, 839, 595, 839,
839, 594, 839, 839, 839, 593, 592, 839, 839, 591,
590, 588, 839, 840, 840, 840, 840, 569, 568, 840,
840, 840, 841, 564, 841, 841, 841, 841, 841, 841,
841, 841, 841, 841, 841, 841, 841, 841, 842, 842,
563, 842, 842, 562, 560, 559, 842, 842, 843, 558,
843, 843, 843, 843, 843, 843, 843, 843, 843, 843,
843, 843, 843, 843, 844, 557, 844, 844, 844, 844,
844, 844, 844, 844, 844, 844, 844, 844, 844, 844,
845, 556, 845, 845, 845, 845, 845, 845, 845, 845,
845, 845, 845, 845, 845, 845, 846, 846, 846, 846,
846, 846, 846, 846, 846, 846, 846, 846, 846, 846,
846, 846, 847, 847, 847, 847, 555, 554, 847, 847,
847, 848, 848, 848, 848, 553, 552, 848, 848, 848,
849, 849, 849, 849, 849, 849, 849, 849, 849, 849,
849, 849, 849, 849, 849, 849, 850, 850, 850, 850,
850, 850, 850, 850, 850, 850, 850, 850, 850, 850,
850, 850, 851, 551, 851, 851, 851, 851, 851, 851,
851, 851, 851, 549, 851, 851, 851, 851, 852, 852,
548, 546, 545, 544, 852, 853, 853, 853, 853, 543,
542, 853, 853, 853, 853, 854, 541, 854, 854, 854,
854, 854, 854, 854, 854, 854, 854, 854, 854, 854,
854, 855, 855, 855, 855, 855, 855, 855, 855, 855,
855, 855, 855, 855, 855, 855, 855, 856, 856, 856,
856, 856, 856, 856, 856, 856, 856, 856, 856, 856,
856, 856, 856, 540, 539, 538, 536, 534, 533, 530,
528, 526, 525, 524, 523, 509, 508, 507, 506, 500,
499, 498, 497, 496, 492, 491, 490, 489, 488, 487,
486, 483, 482, 481, 480, 479, 478, 476, 475, 474,
473, 472, 471, 469, 468, 467, 464, 463, 461, 460,
459, 458, 457, 454, 453, 452, 451, 439, 437, 436,
435, 434, 430, 426, 423, 422, 421, 414, 413, 412,
411, 410, 408, 407, 406, 404, 403, 402, 401, 400,
399, 398, 397, 396, 395, 394, 393, 392, 391, 390,
388, 387, 386, 384, 383, 382, 381, 380, 379, 378,
377, 376, 373, 372, 361, 356, 355, 352, 350, 346,
337, 327, 326, 325, 323, 318, 315, 313, 312, 311,
308, 307, 306, 305, 303, 301, 300, 299, 297, 296,
295, 293, 292, 290, 287, 286, 284, 282, 281, 280,
276, 263, 262, 243, 240, 239, 234, 231, 226, 222,
221, 220, 219, 216, 208, 207, 204, 203, 189, 187,
183, 179, 176, 175, 174, 173, 172, 171, 169, 166,
165, 162, 161, 159, 156, 155, 154, 153, 151, 149,
148, 146, 144, 143, 137, 134, 125, 124, 122, 119,
114, 112, 107, 103, 97, 92, 89, 87, 85, 84,
83, 80, 76, 74, 73, 71, 67, 65, 59, 55,
50, 47, 43, 39, 16, 15, 10, 8, 7, 768,
768, 768, 768, 768, 768, 768, 768, 768, 768, 768,
768, 768, 768, 768, 768, 768, 768, 768, 768, 768,
768, 768, 768, 768, 768, 768, 768, 768, 768, 768,
768, 768, 768, 768, 768, 768, 768, 768, 768, 768,
768, 768, 768, 768, 768, 768, 768, 768, 768, 768,
768, 768, 768, 768, 768, 768, 768
} ;
static yy_state_type yy_last_accepting_state;
static char *yy_last_accepting_cpos;
/* The intent behind this definition is that it'll catch
* any uses of REJECT which flex missed.
*/
#define REJECT reject_used_but_not_detected
#define yymore() yymore_used_but_not_detected
#define YY_MORE_ADJ 0
char *yytext;
#line 1 "scan.l"
#define INITIAL 0
/* scan.l - scanner for flex input */
#line 4 "scan.l"
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Vern Paxson.
*
* The United States Government has rights in this work pursuant
* to contract no. DE-AC03-76SF00098 between the United States
* Department of Energy and the University of California.
*
* Redistribution and use in source and binary forms are permitted provided
* that: (1) source distributions retain this entire copyright notice and
* comment, and (2) distributions including binaries display the following
* acknowledgement: ``This product includes software developed by the
* University of California, Berkeley and its contributors'' in the
* documentation or other materials provided with the distribution and in
* all advertising materials mentioning features or use of this software.
* Neither the name of the University nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
/* $Header: /home/daffy/u0/vern/flex/RCS/scan.l,v 2.54 95/03/20 14:01:16 vern Exp $ */
#include "flexdef.h"
#include "parse.h"
#define ACTION_ECHO add_action( yytext )
#define ACTION_IFDEF(def, should_define) \
{ \
if ( should_define ) \
action_define( def, 1 ); \
}
#define MARK_END_OF_PROLOG mark_prolog();
#define YY_DECL \
int flexscan()
#define RETURNCHAR \
yylval = (unsigned char) yytext[0]; \
return CHAR;
#define RETURNNAME \
strcpy( nmstr, yytext ); \
return NAME;
#define PUT_BACK_STRING(str, start) \
for ( i = strlen( str ) - 1; i >= start; --i ) \
unput((str)[i])
#define CHECK_REJECT(str) \
if ( all_upper( str ) ) \
reject = true;
#define CHECK_YYMORE(str) \
if ( all_lower( str ) ) \
yymore_used = true;
#define YY_STACK_USED 1
#define YY_NO_TOP_STATE 1
#define SECT2 1
#define SECT2PROLOG 2
#define SECT3 3
#define CODEBLOCK 4
#define PICKUPDEF 5
#define SC 6
#define CARETISBOL 7
#define NUM 8
#define QUOTE 9
#define FIRSTCCL 10
#define CCL 11
#define ACTION 12
#define RECOVER 13
#define COMMENT 14
#define ACTION_STRING 15
#define PERCENT_BRACE_ACTION 16
#define OPTION 17
#define LINEDIR 18
#line 1351 "scan.c"
/* Macros after this point can all be overridden by user definitions in
* section 1.
*/
#if YY_STACK_USED
static int yy_start_stack_ptr = 0;
static int yy_start_stack_depth = 0;
static int *yy_start_stack = 0;
#ifndef YY_NO_PUSH_STATE
static void yy_push_state YY_PROTO(( int new_state ));
#endif
#ifndef YY_NO_POP_STATE
static void yy_pop_state YY_PROTO(( void ));
#endif
#ifndef YY_NO_TOP_STATE
static int yy_top_state YY_PROTO(( void ));
#endif
#else
#define YY_NO_PUSH_STATE 1
#define YY_NO_POP_STATE 1
#define YY_NO_TOP_STATE 1
#endif
#ifdef YY_MALLOC_DECL
YY_MALLOC_DECL
#else
#if __STDC__
#ifndef __cplusplus
#include <stdlib.h>
#endif
#else
/* Just try to get by without declaring the routines. This will fail
* miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
* or sizeof(void*) != sizeof(int).
*/
#endif
#endif
/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
#define YY_READ_BUF_SIZE 8192
#endif
/* Copy whatever the last rule matched to the standard output. */
#ifndef ECHO
/* This used to be an fputs(), but since the string might contain NUL's,
* we now use fwrite().
*/
#define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
#endif
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
* is returned in "result".
*/
#ifndef YY_INPUT
#define YY_INPUT(buf,result,max_size) \
if ( yy_current_buffer->yy_is_interactive ) \
{ \
int c = '*', n; \
for ( n = 0; n < max_size && \
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
buf[n] = (char) c; \
if ( c == '\n' ) \
buf[n++] = (char) c; \
if ( c == EOF && ferror( yyin ) ) \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
result = n; \
} \
else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
&& ferror( yyin ) ) \
YY_FATAL_ERROR( "input in flex scanner failed" );
#endif
/* No semi-colon after return; correct usage is to write "yyterminate();" -
* we don't want an extra ';' after the "return" because that will cause
* some compilers to complain about unreachable statements.
*/
#ifndef yyterminate
#define yyterminate() return YY_NULL
#endif
/* Number of entries by which start-condition stack grows. */
#ifndef YY_START_STACK_INCR
#define YY_START_STACK_INCR 25
#endif
/* Report a fatal error. */
#ifndef YY_FATAL_ERROR
#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
#endif
/* Default declaration of generated scanner - a define so the user can
* easily add parameters.
*/
#ifndef YY_DECL
#define YY_DECL int yylex YY_PROTO(( void ))
#endif
/* Code executed at the beginning of each rule, after yytext and yyleng
* have been set up.
*/
#ifndef YY_USER_ACTION
#define YY_USER_ACTION
#endif
/* Code executed at the end of each rule. */
#ifndef YY_BREAK
#define YY_BREAK break;
#endif
#define YY_RULE_SETUP \
if ( yyleng > 0 ) \
yy_current_buffer->yy_at_bol = \
(yytext[yyleng - 1] == '\n'); \
YY_USER_ACTION
YY_DECL
{
register yy_state_type yy_current_state;
register char *yy_cp, *yy_bp;
register int yy_act;
#line 94 "scan.l"
static int bracelevel, didadef, indented_code;
static int doing_rule_action = false;
static int option_sense;
int doing_codeblock = false;
int i;
Char nmdef[MAXLINE], myesc();
#line 1488 "scan.c"
if ( yy_init )
{
yy_init = 0;
#ifdef YY_USER_INIT
YY_USER_INIT;
#endif
if ( ! yy_start )
yy_start = 1; /* first start state */
if ( ! yyin )
yyin = stdin;
if ( ! yyout )
yyout = stdout;
if ( ! yy_current_buffer )
yy_current_buffer =
yy_create_buffer( yyin, YY_BUF_SIZE );
yy_load_buffer_state();
}
while ( 1 ) /* loops until end-of-file is reached */
{
yy_cp = yy_c_buf_p;
/* Support of yytext. */
*yy_cp = yy_hold_char;
/* yy_bp points to the position in yy_ch_buf of the start of
* the current run.
*/
yy_bp = yy_cp;
yy_current_state = yy_start;
yy_current_state += YY_AT_BOL();
yy_match:
do
{
register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
if ( yy_accept[yy_current_state] )
{
yy_last_accepting_state = yy_current_state;
yy_last_accepting_cpos = yy_cp;
}
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
if ( yy_current_state >= 769 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
++yy_cp;
}
while ( yy_base[yy_current_state] != 2680 );
yy_find_action:
yy_act = yy_accept[yy_current_state];
if ( yy_act == 0 )
{ /* have to back up */
yy_cp = yy_last_accepting_cpos;
yy_current_state = yy_last_accepting_state;
yy_act = yy_accept[yy_current_state];
}
YY_DO_BEFORE_ACTION;
do_action: /* This label is used only to access EOF actions. */
switch ( yy_act )
{ /* beginning of action switch */
case 0: /* must back up */
/* undo the effects of YY_DO_BEFORE_ACTION */
*yy_cp = yy_hold_char;
yy_cp = yy_last_accepting_cpos;
yy_current_state = yy_last_accepting_state;
goto yy_find_action;
case 1:
YY_RULE_SETUP
#line 105 "scan.l"
indented_code = true; BEGIN(CODEBLOCK);
YY_BREAK
case 2:
YY_RULE_SETUP
#line 106 "scan.l"
ACTION_ECHO; yy_push_state( COMMENT );
YY_BREAK
case 3:
YY_RULE_SETUP
#line 107 "scan.l"
yy_push_state( LINEDIR );
YY_BREAK
case 4:
YY_RULE_SETUP
#line 108 "scan.l"
return SCDECL;
YY_BREAK
case 5:
YY_RULE_SETUP
#line 109 "scan.l"
return XSCDECL;
YY_BREAK
case 6:
YY_RULE_SETUP
#line 110 "scan.l"
{
++linenum;
line_directive_out( (FILE *) 0, 1 );
indented_code = false;
BEGIN(CODEBLOCK);
}
YY_BREAK
case 7:
YY_RULE_SETUP
#line 117 "scan.l"
/* discard */
YY_BREAK
case 8:
YY_RULE_SETUP
#line 119 "scan.l"
{
sectnum = 2;
bracelevel = 0;
mark_defs1();
line_directive_out( (FILE *) 0, 1 );
BEGIN(SECT2PROLOG);
return SECTEND;
}
YY_BREAK
case 9:
YY_RULE_SETUP
#line 128 "scan.l"
yytext_is_array = false; ++linenum;
YY_BREAK
case 10:
YY_RULE_SETUP
#line 129 "scan.l"
yytext_is_array = true; ++linenum;
YY_BREAK
case 11:
YY_RULE_SETUP
#line 131 "scan.l"
BEGIN(OPTION); return OPTION_OP;
YY_BREAK
case 12:
YY_RULE_SETUP
#line 133 "scan.l"
++linenum; /* ignore */
YY_BREAK
case 13:
YY_RULE_SETUP
#line 134 "scan.l"
++linenum; /* ignore */
YY_BREAK
case 14:
YY_RULE_SETUP
#line 136 "scan.l"
synerr( _( "unrecognized '%' directive" ) );
YY_BREAK
case 15:
YY_RULE_SETUP
#line 138 "scan.l"
{
strcpy( nmstr, yytext );
didadef = false;
BEGIN(PICKUPDEF);
}
YY_BREAK
case 16:
YY_RULE_SETUP
#line 144 "scan.l"
RETURNNAME;
YY_BREAK
case 17:
YY_RULE_SETUP
#line 145 "scan.l"
++linenum; /* allows blank lines in section 1 */
YY_BREAK
case 18:
YY_RULE_SETUP
#line 146 "scan.l"
ACTION_ECHO; ++linenum; /* maybe end of comment line */
YY_BREAK
case 19:
YY_RULE_SETUP
#line 151 "scan.l"
ACTION_ECHO; yy_pop_state();
YY_BREAK
case 20:
YY_RULE_SETUP
#line 152 "scan.l"
ACTION_ECHO;
YY_BREAK
case 21:
YY_RULE_SETUP
#line 153 "scan.l"
ACTION_ECHO;
YY_BREAK
case 22:
YY_RULE_SETUP
#line 154 "scan.l"
++linenum; ACTION_ECHO;
YY_BREAK
case 23:
YY_RULE_SETUP
#line 158 "scan.l"
yy_pop_state();
YY_BREAK
case 24:
YY_RULE_SETUP
#line 159 "scan.l"
linenum = myctoi( yytext );
YY_BREAK
case 25:
YY_RULE_SETUP
#line 161 "scan.l"
{
flex_free( infilename );
infilename = copy_string( yytext + 1 );
infilename[strlen( infilename ) - 1] = '\0';
}
YY_BREAK
case 26:
YY_RULE_SETUP
#line 166 "scan.l"
/* ignore spurious characters */
YY_BREAK
case 27:
YY_RULE_SETUP
#line 170 "scan.l"
++linenum; BEGIN(INITIAL);
YY_BREAK
case 28:
YY_RULE_SETUP
#line 172 "scan.l"
ACTION_ECHO;
YY_BREAK
case 29:
YY_RULE_SETUP
#line 174 "scan.l"
{
++linenum;
ACTION_ECHO;
if ( indented_code )
BEGIN(INITIAL);
}
YY_BREAK
case 30:
YY_RULE_SETUP
#line 184 "scan.l"
/* separates name and definition */
YY_BREAK
case 31:
YY_RULE_SETUP
#line 186 "scan.l"
{
strcpy( (char *) nmdef, yytext );
/* Skip trailing whitespace. */
for ( i = strlen( (char *) nmdef ) - 1;
i >= 0 && (nmdef[i] == ' ' || nmdef[i] == '\t');
--i )
;
nmdef[i + 1] = '\0';
ndinstal( nmstr, nmdef );
didadef = true;
}
YY_BREAK
case 32:
YY_RULE_SETUP
#line 201 "scan.l"
{
if ( ! didadef )
synerr( _( "incomplete name definition" ) );
BEGIN(INITIAL);
++linenum;
}
YY_BREAK
case 33:
YY_RULE_SETUP
#line 211 "scan.l"
++linenum; BEGIN(INITIAL);
YY_BREAK
case 34:
YY_RULE_SETUP
#line 212 "scan.l"
option_sense = true;
YY_BREAK
case 35:
YY_RULE_SETUP
#line 214 "scan.l"
return '=';
YY_BREAK
case 36:
YY_RULE_SETUP
#line 216 "scan.l"
option_sense = ! option_sense;
YY_BREAK
case 37:
YY_RULE_SETUP
#line 218 "scan.l"
csize = option_sense ? 128 : 256;
YY_BREAK
case 38:
YY_RULE_SETUP
#line 219 "scan.l"
csize = option_sense ? 256 : 128;
YY_BREAK
case 39:
YY_RULE_SETUP
#line 221 "scan.l"
long_align = option_sense;
YY_BREAK
case 40:
YY_RULE_SETUP
#line 222 "scan.l"
{
action_define( "YY_ALWAYS_INTERACTIVE", option_sense );
}
YY_BREAK
case 41:
YY_RULE_SETUP
#line 225 "scan.l"
yytext_is_array = option_sense;
YY_BREAK
case 42:
YY_RULE_SETUP
#line 226 "scan.l"
backing_up_report = option_sense;
YY_BREAK
case 43:
YY_RULE_SETUP
#line 227 "scan.l"
interactive = ! option_sense;
YY_BREAK
case 44:
YY_RULE_SETUP
#line 228 "scan.l"
C_plus_plus = option_sense;
YY_BREAK
case 45:
YY_RULE_SETUP
#line 229 "scan.l"
caseins = ! option_sense;
YY_BREAK
case 46:
YY_RULE_SETUP
#line 230 "scan.l"
caseins = option_sense;
YY_BREAK
case 47:
YY_RULE_SETUP
#line 231 "scan.l"
ddebug = option_sense;
YY_BREAK
case 48:
YY_RULE_SETUP
#line 232 "scan.l"
spprdflt = ! option_sense;
YY_BREAK
case 49:
YY_RULE_SETUP
#line 233 "scan.l"
useecs = option_sense;
YY_BREAK
case 50:
YY_RULE_SETUP
#line 234 "scan.l"
{
useecs = usemecs = false;
use_read = fullspd = true;
}
YY_BREAK
case 51:
YY_RULE_SETUP
#line 238 "scan.l"
{
useecs = usemecs = false;
use_read = fulltbl = true;
}
YY_BREAK
case 52:
YY_RULE_SETUP
#line 242 "scan.l"
ACTION_IFDEF("YY_NO_INPUT", ! option_sense);
YY_BREAK
case 53:
YY_RULE_SETUP
#line 243 "scan.l"
interactive = option_sense;
YY_BREAK
case 54:
YY_RULE_SETUP
#line 244 "scan.l"
lex_compat = option_sense;
YY_BREAK
case 55:
YY_RULE_SETUP
#line 245 "scan.l"
{
action_define( "YY_MAIN", option_sense );
do_yywrap = ! option_sense;
}
YY_BREAK
case 56:
YY_RULE_SETUP
#line 249 "scan.l"
usemecs = option_sense;
YY_BREAK
case 57:
YY_RULE_SETUP
#line 250 "scan.l"
{
action_define( "YY_NEVER_INTERACTIVE", option_sense );
}
YY_BREAK
case 58:
YY_RULE_SETUP
#line 253 "scan.l"
performance_report += option_sense ? 1 : -1;
YY_BREAK
case 59:
YY_RULE_SETUP
#line 254 "scan.l"
yytext_is_array = ! option_sense;
YY_BREAK
case 60:
YY_RULE_SETUP
#line 255 "scan.l"
use_read = option_sense;
YY_BREAK
case 61:
YY_RULE_SETUP
#line 256 "scan.l"
reject_really_used = option_sense;
YY_BREAK
case 62:
YY_RULE_SETUP
#line 257 "scan.l"
action_define( "YY_STACK_USED", option_sense );
YY_BREAK
case 63:
YY_RULE_SETUP
#line 258 "scan.l"
do_stdinit = option_sense;
YY_BREAK
case 64:
YY_RULE_SETUP
#line 259 "scan.l"
use_stdout = option_sense;
YY_BREAK
case 65:
YY_RULE_SETUP
#line 260 "scan.l"
ACTION_IFDEF("YY_NO_UNPUT", ! option_sense);
YY_BREAK
case 66:
YY_RULE_SETUP
#line 261 "scan.l"
printstats = option_sense;
YY_BREAK
case 67:
YY_RULE_SETUP
#line 262 "scan.l"
nowarn = ! option_sense;
YY_BREAK
case 68:
YY_RULE_SETUP
#line 263 "scan.l"
do_yylineno = option_sense;
YY_BREAK
case 69:
YY_RULE_SETUP
#line 264 "scan.l"
yymore_really_used = option_sense;
YY_BREAK
case 70:
YY_RULE_SETUP
#line 265 "scan.l"
do_yywrap = option_sense;
YY_BREAK
case 71:
YY_RULE_SETUP
#line 267 "scan.l"
ACTION_IFDEF("YY_NO_PUSH_STATE", ! option_sense);
YY_BREAK
case 72:
YY_RULE_SETUP
#line 268 "scan.l"
ACTION_IFDEF("YY_NO_POP_STATE", ! option_sense);
YY_BREAK
case 73:
YY_RULE_SETUP
#line 269 "scan.l"
ACTION_IFDEF("YY_NO_TOP_STATE", ! option_sense);
YY_BREAK
case 74:
YY_RULE_SETUP
#line 271 "scan.l"
ACTION_IFDEF("YY_NO_SCAN_BUFFER", ! option_sense);
YY_BREAK
case 75:
YY_RULE_SETUP
#line 272 "scan.l"
ACTION_IFDEF("YY_NO_SCAN_BYTES", ! option_sense);
YY_BREAK
case 76:
YY_RULE_SETUP
#line 273 "scan.l"
ACTION_IFDEF("YY_NO_SCAN_STRING", ! option_sense);
YY_BREAK
case 77:
YY_RULE_SETUP
#line 275 "scan.l"
return OPT_OUTFILE;
YY_BREAK
case 78:
YY_RULE_SETUP
#line 276 "scan.l"
return OPT_PREFIX;
YY_BREAK
case 79:
YY_RULE_SETUP
#line 277 "scan.l"
return OPT_YYCLASS;
YY_BREAK
case 80:
YY_RULE_SETUP
#line 279 "scan.l"
{
strcpy( nmstr, yytext + 1 );
nmstr[strlen( nmstr ) - 1] = '\0';
return NAME;
}
YY_BREAK
case 81:
YY_RULE_SETUP
#line 285 "scan.l"
{
format_synerr( _( "unrecognized %%option: %s" ),
yytext );
BEGIN(RECOVER);
}
YY_BREAK
case 82:
YY_RULE_SETUP
#line 292 "scan.l"
++linenum; BEGIN(INITIAL);
YY_BREAK
case 83:
YY_RULE_SETUP
#line 296 "scan.l"
++bracelevel; yyless( 2 ); /* eat only %{ */
YY_BREAK
case 84:
YY_RULE_SETUP
#line 297 "scan.l"
--bracelevel; yyless( 2 ); /* eat only %} */
YY_BREAK
case 85:
YY_RULE_SETUP
#line 299 "scan.l"
ACTION_ECHO; /* indented code in prolog */
YY_BREAK
case 86:
YY_RULE_SETUP
#line 301 "scan.l"
{ /* non-indented code */
if ( bracelevel <= 0 )
{ /* not in %{ ... %} */
yyless( 0 ); /* put it all back */
yy_set_bol( 1 );
mark_prolog();
BEGIN(SECT2);
}
else
ACTION_ECHO;
}
YY_BREAK
case 87:
YY_RULE_SETUP
#line 313 "scan.l"
ACTION_ECHO;
YY_BREAK
case 88:
YY_RULE_SETUP
#line 314 "scan.l"
++linenum; ACTION_ECHO;
YY_BREAK
case YY_STATE_EOF(SECT2PROLOG):
#line 316 "scan.l"
{
mark_prolog();
sectnum = 0;
yyterminate(); /* to stop the parser */
}
YY_BREAK
case 89:
YY_RULE_SETUP
#line 324 "scan.l"
++linenum; /* allow blank lines in section 2 */
YY_BREAK
case 90:
YY_RULE_SETUP
#line 326 "scan.l"
{
indented_code = false;
doing_codeblock = true;
bracelevel = 1;
BEGIN(PERCENT_BRACE_ACTION);
}
YY_BREAK
case 91:
YY_RULE_SETUP
#line 333 "scan.l"
BEGIN(SC); return '<';
YY_BREAK
case 92:
YY_RULE_SETUP
#line 334 "scan.l"
return '^';
YY_BREAK
case 93:
YY_RULE_SETUP
#line 335 "scan.l"
BEGIN(QUOTE); return '"';
YY_BREAK
case 94:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 336 "scan.l"
BEGIN(NUM); return '{';
YY_BREAK
case 95:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 337 "scan.l"
return '$';
YY_BREAK
case 96:
YY_RULE_SETUP
#line 339 "scan.l"
{
bracelevel = 1;
BEGIN(PERCENT_BRACE_ACTION);
if ( in_rule )
{
doing_rule_action = true;
in_rule = false;
return '\n';
}
}
YY_BREAK
case 97:
YY_RULE_SETUP
#line 350 "scan.l"
continued_action = true; ++linenum; return '\n';
YY_BREAK
case 98:
YY_RULE_SETUP
#line 352 "scan.l"
{
yyless( yyleng - 2 ); /* put back '/', '*' */
bracelevel = 0;
continued_action = false;
BEGIN(ACTION);
}
YY_BREAK
case 99:
YY_RULE_SETUP
#line 359 "scan.l"
/* allow indented rules */
YY_BREAK
case 100:
YY_RULE_SETUP
#line 361 "scan.l"
{
/* This rule is separate from the one below because
* otherwise we get variable trailing context, so
* we can't build the scanner using -{f,F}.
*/
bracelevel = 0;
continued_action = false;
BEGIN(ACTION);
if ( in_rule )
{
doing_rule_action = true;
in_rule = false;
return '\n';
}
}
YY_BREAK
case 101:
YY_RULE_SETUP
#line 378 "scan.l"
{
bracelevel = 0;
continued_action = false;
BEGIN(ACTION);
unput( '\n' ); /* so <ACTION> sees it */
if ( in_rule )
{
doing_rule_action = true;
in_rule = false;
return '\n';
}
}
YY_BREAK
case 102:
#line 393 "scan.l"
case 103:
YY_RULE_SETUP
#line 393 "scan.l"
return EOF_OP;
YY_BREAK
case 104:
YY_RULE_SETUP
#line 395 "scan.l"
{
sectnum = 3;
BEGIN(SECT3);
yyterminate(); /* to stop the parser */
}
YY_BREAK
case 105:
YY_RULE_SETUP
#line 401 "scan.l"
{
int cclval;
strcpy( nmstr, yytext );
/* Check to see if we've already encountered this
* ccl.
*/
if ( (cclval = ccllookup( (Char *) nmstr )) != 0 )
{
if ( input() != ']' )
synerr( _( "bad character class" ) );
yylval = cclval;
++cclreuse;
return PREVCCL;
}
else
{
/* We fudge a bit. We know that this ccl will
* soon be numbered as lastccl + 1 by cclinit.
*/
cclinstal( (Char *) nmstr, lastccl + 1 );
/* Push back everything but the leading bracket
* so the ccl can be rescanned.
*/
yyless( 1 );
BEGIN(FIRSTCCL);
return '[';
}
}
YY_BREAK
case 106:
YY_RULE_SETUP
#line 435 "scan.l"
{
register Char *nmdefptr;
Char *ndlookup();
strcpy( nmstr, yytext + 1 );
nmstr[yyleng - 2] = '\0'; /* chop trailing brace */
if ( (nmdefptr = ndlookup( nmstr )) == 0 )
format_synerr(
_( "undefined definition {%s}" ),
nmstr );
else
{ /* push back name surrounded by ()'s */
int len = strlen( (char *) nmdefptr );
if ( lex_compat || nmdefptr[0] == '^' ||
(len > 0 && nmdefptr[len - 1] == '$') )
{ /* don't use ()'s after all */
PUT_BACK_STRING((char *) nmdefptr, 0);
if ( nmdefptr[0] == '^' )
BEGIN(CARETISBOL);
}
else
{
unput(')');
PUT_BACK_STRING((char *) nmdefptr, 0);
unput('(');
}
}
}
YY_BREAK
case 107:
YY_RULE_SETUP
#line 469 "scan.l"
return (unsigned char) yytext[0];
YY_BREAK
case 108:
YY_RULE_SETUP
#line 470 "scan.l"
RETURNCHAR;
YY_BREAK
case 109:
YY_RULE_SETUP
#line 475 "scan.l"
return (unsigned char) yytext[0];
YY_BREAK
case 110:
YY_RULE_SETUP
#line 476 "scan.l"
BEGIN(SECT2); return '>';
YY_BREAK
case 111:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 477 "scan.l"
BEGIN(CARETISBOL); return '>';
YY_BREAK
case 112:
YY_RULE_SETUP
#line 478 "scan.l"
RETURNNAME;
YY_BREAK
case 113:
YY_RULE_SETUP
#line 479 "scan.l"
{
format_synerr( _( "bad <start condition>: %s" ),
yytext );
}
YY_BREAK
case 114:
YY_RULE_SETUP
#line 485 "scan.l"
BEGIN(SECT2); return '^';
YY_BREAK
case 115:
YY_RULE_SETUP
#line 489 "scan.l"
RETURNCHAR;
YY_BREAK
case 116:
YY_RULE_SETUP
#line 490 "scan.l"
BEGIN(SECT2); return '"';
YY_BREAK
case 117:
YY_RULE_SETUP
#line 492 "scan.l"
{
synerr( _( "missing quote" ) );
BEGIN(SECT2);
++linenum;
return '"';
}
YY_BREAK
case 118:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 502 "scan.l"
BEGIN(CCL); return '^';
YY_BREAK
case 119:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 503 "scan.l"
return '^';
YY_BREAK
case 120:
YY_RULE_SETUP
#line 504 "scan.l"
BEGIN(CCL); RETURNCHAR;
YY_BREAK
case 121:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 508 "scan.l"
return '-';
YY_BREAK
case 122:
YY_RULE_SETUP
#line 509 "scan.l"
RETURNCHAR;
YY_BREAK
case 123:
YY_RULE_SETUP
#line 510 "scan.l"
BEGIN(SECT2); return ']';
YY_BREAK
case 124:
YY_RULE_SETUP
#line 511 "scan.l"
{
synerr( _( "bad character class" ) );
BEGIN(SECT2);
return ']';
}
YY_BREAK
case 125:
YY_RULE_SETUP
#line 519 "scan.l"
BEGIN(CCL); return CCE_ALNUM;
YY_BREAK
case 126:
YY_RULE_SETUP
#line 520 "scan.l"
BEGIN(CCL); return CCE_ALPHA;
YY_BREAK
case 127:
YY_RULE_SETUP
#line 521 "scan.l"
BEGIN(CCL); return CCE_BLANK;
YY_BREAK
case 128:
YY_RULE_SETUP
#line 522 "scan.l"
BEGIN(CCL); return CCE_CNTRL;
YY_BREAK
case 129:
YY_RULE_SETUP
#line 523 "scan.l"
BEGIN(CCL); return CCE_DIGIT;
YY_BREAK
case 130:
YY_RULE_SETUP
#line 524 "scan.l"
BEGIN(CCL); return CCE_GRAPH;
YY_BREAK
case 131:
YY_RULE_SETUP
#line 525 "scan.l"
BEGIN(CCL); return CCE_LOWER;
YY_BREAK
case 132:
YY_RULE_SETUP
#line 526 "scan.l"
BEGIN(CCL); return CCE_PRINT;
YY_BREAK
case 133:
YY_RULE_SETUP
#line 527 "scan.l"
BEGIN(CCL); return CCE_PUNCT;
YY_BREAK
case 134:
YY_RULE_SETUP
#line 528 "scan.l"
BEGIN(CCL); return CCE_SPACE;
YY_BREAK
case 135:
YY_RULE_SETUP
#line 529 "scan.l"
BEGIN(CCL); return CCE_UPPER;
YY_BREAK
case 136:
YY_RULE_SETUP
#line 530 "scan.l"
BEGIN(CCL); return CCE_XDIGIT;
YY_BREAK
case 137:
YY_RULE_SETUP
#line 531 "scan.l"
{
format_synerr(
_( "bad character class expression: %s" ),
yytext );
BEGIN(CCL); return CCE_ALNUM;
}
YY_BREAK
case 138:
YY_RULE_SETUP
#line 540 "scan.l"
{
yylval = myctoi( yytext );
return NUMBER;
}
YY_BREAK
case 139:
YY_RULE_SETUP
#line 545 "scan.l"
return ',';
YY_BREAK
case 140:
YY_RULE_SETUP
#line 546 "scan.l"
BEGIN(SECT2); return '}';
YY_BREAK
case 141:
YY_RULE_SETUP
#line 548 "scan.l"
{
synerr( _( "bad character inside {}'s" ) );
BEGIN(SECT2);
return '}';
}
YY_BREAK
case 142:
YY_RULE_SETUP
#line 554 "scan.l"
{
synerr( _( "missing }" ) );
BEGIN(SECT2);
++linenum;
return '}';
}
YY_BREAK
case 143:
YY_RULE_SETUP
#line 564 "scan.l"
bracelevel = 0;
YY_BREAK
case 144:
YY_RULE_SETUP
#line 566 "scan.l"
ACTION_ECHO; yy_push_state( COMMENT );
YY_BREAK
case 145:
YY_RULE_SETUP
#line 569 "scan.l"
{
ACTION_ECHO;
CHECK_REJECT(yytext);
}
YY_BREAK
case 146:
YY_RULE_SETUP
#line 573 "scan.l"
{
ACTION_ECHO;
CHECK_YYMORE(yytext);
}
YY_BREAK
case 147:
YY_RULE_SETUP
#line 579 "scan.l"
ACTION_ECHO;
YY_BREAK
case 148:
YY_RULE_SETUP
#line 580 "scan.l"
{
++linenum;
ACTION_ECHO;
if ( bracelevel == 0 ||
(doing_codeblock && indented_code) )
{
if ( doing_rule_action )
add_action( "\tYY_BREAK\n" );
doing_rule_action = doing_codeblock = false;
BEGIN(SECT2);
}
}
YY_BREAK
/* Reject and YYmore() are checked for above, in PERCENT_BRACE_ACTION */
case 149:
YY_RULE_SETUP
#line 598 "scan.l"
ACTION_ECHO; ++bracelevel;
YY_BREAK
case 150:
YY_RULE_SETUP
#line 599 "scan.l"
ACTION_ECHO; --bracelevel;
YY_BREAK
case 151:
YY_RULE_SETUP
#line 600 "scan.l"
ACTION_ECHO;
YY_BREAK
case 152:
YY_RULE_SETUP
#line 601 "scan.l"
ACTION_ECHO;
YY_BREAK
case 153:
YY_RULE_SETUP
#line 602 "scan.l"
ACTION_ECHO; /* character constant */
YY_BREAK
case 154:
YY_RULE_SETUP
#line 603 "scan.l"
ACTION_ECHO; BEGIN(ACTION_STRING);
YY_BREAK
case 155:
YY_RULE_SETUP
#line 604 "scan.l"
{
++linenum;
ACTION_ECHO;
if ( bracelevel == 0 )
{
if ( doing_rule_action )
add_action( "\tYY_BREAK\n" );
doing_rule_action = false;
BEGIN(SECT2);
}
}
YY_BREAK
case 156:
YY_RULE_SETUP
#line 616 "scan.l"
ACTION_ECHO;
YY_BREAK
case 157:
YY_RULE_SETUP
#line 620 "scan.l"
ACTION_ECHO;
YY_BREAK
case 158:
YY_RULE_SETUP
#line 621 "scan.l"
ACTION_ECHO;
YY_BREAK
case 159:
YY_RULE_SETUP
#line 622 "scan.l"
++linenum; ACTION_ECHO;
YY_BREAK
case 160:
YY_RULE_SETUP
#line 623 "scan.l"
ACTION_ECHO; BEGIN(ACTION);
YY_BREAK
case 161:
YY_RULE_SETUP
#line 624 "scan.l"
ACTION_ECHO;
YY_BREAK
case YY_STATE_EOF(COMMENT):
case YY_STATE_EOF(ACTION):
case YY_STATE_EOF(ACTION_STRING):
#line 627 "scan.l"
{
synerr( _( "EOF encountered inside an action" ) );
yyterminate();
}
YY_BREAK
case 162:
YY_RULE_SETUP
#line 633 "scan.l"
{
yylval = myesc( (Char *) yytext );
if ( YY_START == FIRSTCCL )
BEGIN(CCL);
return CHAR;
}
YY_BREAK
case 163:
YY_RULE_SETUP
#line 644 "scan.l"
ECHO;
YY_BREAK
case YY_STATE_EOF(SECT3):
#line 645 "scan.l"
sectnum = 0; yyterminate();
YY_BREAK
case 164:
YY_RULE_SETUP
#line 648 "scan.l"
format_synerr( _( "bad character: %s" ), yytext );
YY_BREAK
case 165:
YY_RULE_SETUP
#line 650 "scan.l"
YY_FATAL_ERROR( "flex scanner jammed" );
YY_BREAK
#line 2726 "scan.c"
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(SECT2):
case YY_STATE_EOF(CODEBLOCK):
case YY_STATE_EOF(PICKUPDEF):
case YY_STATE_EOF(SC):
case YY_STATE_EOF(CARETISBOL):
case YY_STATE_EOF(NUM):
case YY_STATE_EOF(QUOTE):
case YY_STATE_EOF(FIRSTCCL):
case YY_STATE_EOF(CCL):
case YY_STATE_EOF(RECOVER):
case YY_STATE_EOF(PERCENT_BRACE_ACTION):
case YY_STATE_EOF(OPTION):
case YY_STATE_EOF(LINEDIR):
yyterminate();
case YY_END_OF_BUFFER:
{
/* Amount of text matched not including the EOB char. */
int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1;
/* Undo the effects of YY_DO_BEFORE_ACTION. */
*yy_cp = yy_hold_char;
if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
{
/* We're scanning a new file or input source. It's
* possible that this happened because the user
* just pointed yyin at a new source and called
* yylex(). If so, then we have to assure
* consistency between yy_current_buffer and our
* globals. Here is the right place to do so, because
* this is the first action (other than possibly a
* back-up) that will match for the new input source.
*/
yy_n_chars = yy_current_buffer->yy_n_chars;
yy_current_buffer->yy_input_file = yyin;
yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL;
}
/* Note that here we test for yy_c_buf_p "<=" to the position
* of the first EOB in the buffer, since yy_c_buf_p will
* already have been incremented past the NUL character
* (since all states make transitions on EOB to the
* end-of-buffer state). Contrast this with the test
* in input().
*/
if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] )
{ /* This was really a NUL. */
yy_state_type yy_next_state;
yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text;
yy_current_state = yy_get_previous_state();
/* Okay, we're now positioned to make the NUL
* transition. We couldn't have
* yy_get_previous_state() go ahead and do it
* for us because it doesn't know how to deal
* with the possibility of jamming (and we don't
* want to build jamming into it because then it
* will run more slowly).
*/
yy_next_state = yy_try_NUL_trans( yy_current_state );
yy_bp = yytext_ptr + YY_MORE_ADJ;
if ( yy_next_state )
{
/* Consume the NUL. */
yy_cp = ++yy_c_buf_p;
yy_current_state = yy_next_state;
goto yy_match;
}
else
{
yy_cp = yy_c_buf_p;
goto yy_find_action;
}
}
else switch ( yy_get_next_buffer() )
{
case EOB_ACT_END_OF_FILE:
{
yy_did_buffer_switch_on_eof = 0;
if ( yywrap() )
{
/* Note: because we've taken care in
* yy_get_next_buffer() to have set up
* yytext, we can now set up
* yy_c_buf_p so that if some total
* hoser (like flex itself) wants to
* call the scanner after we return the
* YY_NULL, it'll still work - another
* YY_NULL will get returned.
*/
yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
yy_act = YY_STATE_EOF(YY_START);
goto do_action;
}
else
{
if ( ! yy_did_buffer_switch_on_eof )
YY_NEW_FILE;
}
break;
}
case EOB_ACT_CONTINUE_SCAN:
yy_c_buf_p =
yytext_ptr + yy_amount_of_matched_text;
yy_current_state = yy_get_previous_state();
yy_cp = yy_c_buf_p;
yy_bp = yytext_ptr + YY_MORE_ADJ;
goto yy_match;
case EOB_ACT_LAST_MATCH:
yy_c_buf_p =
&yy_current_buffer->yy_ch_buf[yy_n_chars];
yy_current_state = yy_get_previous_state();
yy_cp = yy_c_buf_p;
yy_bp = yytext_ptr + YY_MORE_ADJ;
goto yy_find_action;
}
break;
}
default:
YY_FATAL_ERROR(
"fatal flex scanner internal error--no action found" );
} /* end of action switch */
} /* end of scanning one token */
} /* end of yylex */
/* yy_get_next_buffer - try to read in a new buffer
*
* Returns a code representing an action:
* EOB_ACT_LAST_MATCH -
* EOB_ACT_CONTINUE_SCAN - continue scanning from current position
* EOB_ACT_END_OF_FILE - end of file
*/
static int yy_get_next_buffer()
{
register char *dest = yy_current_buffer->yy_ch_buf;
register char *source = yytext_ptr;
register int number_to_move, i;
int ret_val;
if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
YY_FATAL_ERROR(
"fatal flex scanner internal error--end of buffer missed" );
if ( yy_current_buffer->yy_fill_buffer == 0 )
{ /* Don't try to fill the buffer, so this is an EOF. */
if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 )
{
/* We matched a singled characater, the EOB, so
* treat this as a final EOF.
*/
return EOB_ACT_END_OF_FILE;
}
else
{
/* We matched some text prior to the EOB, first
* process it.
*/
return EOB_ACT_LAST_MATCH;
}
}
/* Try to read more data. */
/* First move last chars to start of buffer. */
number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1;
for ( i = 0; i < number_to_move; ++i )
*(dest++) = *(source++);
if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING )
/* don't do the read, it's not guaranteed to return an EOF,
* just force an EOF
*/
yy_n_chars = 0;
else
{
int num_to_read =
yy_current_buffer->yy_buf_size - number_to_move - 1;
while ( num_to_read <= 0 )
{ /* Not enough room in the buffer - grow it. */
#ifdef YY_USES_REJECT
YY_FATAL_ERROR(
"input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
#else
/* just a shorter name for the current buffer */
YY_BUFFER_STATE b = yy_current_buffer;
int yy_c_buf_p_offset =
(int) (yy_c_buf_p - b->yy_ch_buf);
if ( b->yy_is_our_buffer )
{
int new_size = b->yy_buf_size * 2;
if ( new_size <= 0 )
b->yy_buf_size += b->yy_buf_size / 8;
else
b->yy_buf_size *= 2;
b->yy_ch_buf = (char *)
/* Include room in for 2 EOB chars. */
yy_flex_realloc( (void *) b->yy_ch_buf,
b->yy_buf_size + 2 );
}
else
/* Can't grow it, we don't own it. */
b->yy_ch_buf = 0;
if ( ! b->yy_ch_buf )
YY_FATAL_ERROR(
"fatal error - scanner input buffer overflow" );
yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
num_to_read = yy_current_buffer->yy_buf_size -
number_to_move - 1;
#endif
}
if ( num_to_read > YY_READ_BUF_SIZE )
num_to_read = YY_READ_BUF_SIZE;
/* Read in more data. */
YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
yy_n_chars, num_to_read );
}
if ( yy_n_chars == 0 )
{
if ( number_to_move == YY_MORE_ADJ )
{
ret_val = EOB_ACT_END_OF_FILE;
yyrestart( yyin );
}
else
{
ret_val = EOB_ACT_LAST_MATCH;
yy_current_buffer->yy_buffer_status =
YY_BUFFER_EOF_PENDING;
}
}
else
ret_val = EOB_ACT_CONTINUE_SCAN;
yy_n_chars += number_to_move;
yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
yytext_ptr = &yy_current_buffer->yy_ch_buf[0];
return ret_val;
}
/* yy_get_previous_state - get the state just before the EOB char was reached */
static yy_state_type yy_get_previous_state()
{
register yy_state_type yy_current_state;
register char *yy_cp;
yy_current_state = yy_start;
yy_current_state += YY_AT_BOL();
for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp )
{
register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
if ( yy_accept[yy_current_state] )
{
yy_last_accepting_state = yy_current_state;
yy_last_accepting_cpos = yy_cp;
}
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
if ( yy_current_state >= 769 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
}
return yy_current_state;
}
/* yy_try_NUL_trans - try to make a transition on the NUL character
*
* synopsis
* next_state = yy_try_NUL_trans( current_state );
*/
#ifdef YY_USE_PROTOS
static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state )
#else
static yy_state_type yy_try_NUL_trans( yy_current_state )
yy_state_type yy_current_state;
#endif
{
register int yy_is_jam;
register char *yy_cp = yy_c_buf_p;
register YY_CHAR yy_c = 1;
if ( yy_accept[yy_current_state] )
{
yy_last_accepting_state = yy_current_state;
yy_last_accepting_cpos = yy_cp;
}
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
if ( yy_current_state >= 769 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
yy_is_jam = (yy_current_state == 768);
return yy_is_jam ? 0 : yy_current_state;
}
#ifdef YY_USE_PROTOS
static void yyunput( int c, register char *yy_bp )
#else
static void yyunput( c, yy_bp )
int c;
register char *yy_bp;
#endif
{
register char *yy_cp = yy_c_buf_p;
/* undo effects of setting up yytext */
*yy_cp = yy_hold_char;
if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
{ /* need to shift things up to make room */
/* +2 for EOB chars. */
register int number_to_move = yy_n_chars + 2;
register char *dest = &yy_current_buffer->yy_ch_buf[
yy_current_buffer->yy_buf_size + 2];
register char *source =
&yy_current_buffer->yy_ch_buf[number_to_move];
while ( source > yy_current_buffer->yy_ch_buf )
*--dest = *--source;
yy_cp += (int) (dest - source);
yy_bp += (int) (dest - source);
yy_n_chars = yy_current_buffer->yy_buf_size;
if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
YY_FATAL_ERROR( "flex scanner push-back overflow" );
}
*--yy_cp = (char) c;
yytext_ptr = yy_bp;
yy_hold_char = *yy_cp;
yy_c_buf_p = yy_cp;
}
#ifdef __cplusplus
static int yyinput()
#else
static int input()
#endif
{
int c;
*yy_c_buf_p = yy_hold_char;
if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
{
/* yy_c_buf_p now points to the character we want to return.
* If this occurs *before* the EOB characters, then it's a
* valid NUL; if not, then we've hit the end of the buffer.
*/
if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] )
/* This was really a NUL. */
*yy_c_buf_p = '\0';
else
{ /* need more input */
yytext_ptr = yy_c_buf_p;
++yy_c_buf_p;
switch ( yy_get_next_buffer() )
{
case EOB_ACT_END_OF_FILE:
{
if ( yywrap() )
{
yy_c_buf_p =
yytext_ptr + YY_MORE_ADJ;
return EOF;
}
if ( ! yy_did_buffer_switch_on_eof )
YY_NEW_FILE;
#ifdef __cplusplus
return yyinput();
#else
return input();
#endif
}
case EOB_ACT_CONTINUE_SCAN:
yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
break;
case EOB_ACT_LAST_MATCH:
#ifdef __cplusplus
YY_FATAL_ERROR(
"unexpected last match in yyinput()" );
#else
YY_FATAL_ERROR(
"unexpected last match in input()" );
#endif
}
}
}
c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */
*yy_c_buf_p = '\0'; /* preserve yytext */
yy_hold_char = *++yy_c_buf_p;
yy_current_buffer->yy_at_bol = (c == '\n');
return c;
}
#ifdef YY_USE_PROTOS
void yyrestart( FILE *input_file )
#else
void yyrestart( input_file )
FILE *input_file;
#endif
{
if ( ! yy_current_buffer )
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );
yy_init_buffer( yy_current_buffer, input_file );
yy_load_buffer_state();
}
#ifdef YY_USE_PROTOS
void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer )
#else
void yy_switch_to_buffer( new_buffer )
YY_BUFFER_STATE new_buffer;
#endif
{
if ( yy_current_buffer == new_buffer )
return;
if ( yy_current_buffer )
{
/* Flush out information for old buffer. */
*yy_c_buf_p = yy_hold_char;
yy_current_buffer->yy_buf_pos = yy_c_buf_p;
yy_current_buffer->yy_n_chars = yy_n_chars;
}
yy_current_buffer = new_buffer;
yy_load_buffer_state();
/* We don't actually know whether we did this switch during
* EOF (yywrap()) processing, but the only time this flag
* is looked at is after yywrap() is called, so it's safe
* to go ahead and always set it.
*/
yy_did_buffer_switch_on_eof = 1;
}
#ifdef YY_USE_PROTOS
void yy_load_buffer_state( void )
#else
void yy_load_buffer_state()
#endif
{
yy_n_chars = yy_current_buffer->yy_n_chars;
yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
yyin = yy_current_buffer->yy_input_file;
yy_hold_char = *yy_c_buf_p;
}
#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_create_buffer( FILE *file, int size )
#else
YY_BUFFER_STATE yy_create_buffer( file, size )
FILE *file;
int size;
#endif
{
YY_BUFFER_STATE b;
b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
if ( ! b )
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
b->yy_buf_size = size;
/* yy_ch_buf has to be 2 characters longer than the size given because
* we need to put in 2 end-of-buffer characters.
*/
b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 );
if ( ! b->yy_ch_buf )
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
b->yy_is_our_buffer = 1;
yy_init_buffer( b, file );
return b;
}
#ifdef YY_USE_PROTOS
void yy_delete_buffer( YY_BUFFER_STATE b )
#else
void yy_delete_buffer( b )
YY_BUFFER_STATE b;
#endif
{
if ( b == yy_current_buffer )
yy_current_buffer = (YY_BUFFER_STATE) 0;
if ( b->yy_is_our_buffer )
yy_flex_free( (void *) b->yy_ch_buf );
yy_flex_free( (void *) b );
}
#ifndef YY_ALWAYS_INTERACTIVE
#ifndef YY_NEVER_INTERACTIVE
extern int isatty YY_PROTO(( int ));
#endif
#endif
#ifdef YY_USE_PROTOS
void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
#else
void yy_init_buffer( b, file )
YY_BUFFER_STATE b;
FILE *file;
#endif
{
yy_flush_buffer( b );
b->yy_input_file = file;
b->yy_fill_buffer = 1;
#if YY_ALWAYS_INTERACTIVE
b->yy_is_interactive = 1;
#else
#if YY_NEVER_INTERACTIVE
b->yy_is_interactive = 0;
#else
#ifdef __MWERKS__
b->yy_is_interactive = 0;
#else
b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
#endif
#endif
#endif
}
#ifdef YY_USE_PROTOS
void yy_flush_buffer( YY_BUFFER_STATE b )
#else
void yy_flush_buffer( b )
YY_BUFFER_STATE b;
#endif
{
b->yy_n_chars = 0;
/* We always need two end-of-buffer characters. The first causes
* a transition to the end-of-buffer state. The second causes
* a jam in that state.
*/
b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
b->yy_buf_pos = &b->yy_ch_buf[0];
b->yy_at_bol = 1;
b->yy_buffer_status = YY_BUFFER_NEW;
if ( b == yy_current_buffer )
yy_load_buffer_state();
}
#ifndef YY_NO_SCAN_BUFFER
#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size )
#else
YY_BUFFER_STATE yy_scan_buffer( base, size )
char *base;
yy_size_t size;
#endif
{
YY_BUFFER_STATE b;
if ( size < 2 ||
base[size-2] != YY_END_OF_BUFFER_CHAR ||
base[size-1] != YY_END_OF_BUFFER_CHAR )
/* They forgot to leave room for the EOB's. */
return 0;
b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
if ( ! b )
YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
b->yy_buf_pos = b->yy_ch_buf = base;
b->yy_is_our_buffer = 0;
b->yy_input_file = 0;
b->yy_n_chars = b->yy_buf_size;
b->yy_is_interactive = 0;
b->yy_at_bol = 1;
b->yy_fill_buffer = 0;
b->yy_buffer_status = YY_BUFFER_NEW;
yy_switch_to_buffer( b );
return b;
}
#endif
#ifndef YY_NO_SCAN_STRING
#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_scan_string( const char *str )
#else
YY_BUFFER_STATE yy_scan_string( str )
const char *str;
#endif
{
int len;
for ( len = 0; str[len]; ++len )
;
return yy_scan_bytes( str, len );
}
#endif
#ifndef YY_NO_SCAN_BYTES
#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_scan_bytes( const char *bytes, int len )
#else
YY_BUFFER_STATE yy_scan_bytes( bytes, len )
const char *bytes;
int len;
#endif
{
YY_BUFFER_STATE b;
char *buf;
yy_size_t n;
int i;
/* Get memory for full buffer, including space for trailing EOB's. */
n = len + 2;
buf = (char *) yy_flex_alloc( n );
if ( ! buf )
YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
for ( i = 0; i < len; ++i )
buf[i] = bytes[i];
buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
b = yy_scan_buffer( buf, n );
if ( ! b )
YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
/* It's okay to grow etc. this buffer, and we should throw it
* away when we're done.
*/
b->yy_is_our_buffer = 1;
return b;
}
#endif
#ifndef YY_NO_PUSH_STATE
#ifdef YY_USE_PROTOS
static void yy_push_state( int new_state )
#else
static void yy_push_state( new_state )
int new_state;
#endif
{
if ( yy_start_stack_ptr >= yy_start_stack_depth )
{
yy_size_t new_size;
yy_start_stack_depth += YY_START_STACK_INCR;
new_size = yy_start_stack_depth * sizeof( int );
if ( ! yy_start_stack )
yy_start_stack = (int *) yy_flex_alloc( new_size );
else
yy_start_stack = (int *) yy_flex_realloc(
(void *) yy_start_stack, new_size );
if ( ! yy_start_stack )
YY_FATAL_ERROR(
"out of memory expanding start-condition stack" );
}
yy_start_stack[yy_start_stack_ptr++] = YY_START;
BEGIN(new_state);
}
#endif
#ifndef YY_NO_POP_STATE
static void yy_pop_state()
{
if ( --yy_start_stack_ptr < 0 )
YY_FATAL_ERROR( "start-condition stack underflow" );
BEGIN(yy_start_stack[yy_start_stack_ptr]);
}
#endif
#ifndef YY_NO_TOP_STATE
static int yy_top_state()
{
return yy_start_stack[yy_start_stack_ptr - 1];
}
#endif
#ifndef YY_EXIT_FAILURE
#define YY_EXIT_FAILURE 2
#endif
#ifdef YY_USE_PROTOS
static void yy_fatal_error( const char msg[] )
#else
static void yy_fatal_error( msg )
char msg[];
#endif
{
(void) fprintf( stderr, "%s\n", msg );
exit( YY_EXIT_FAILURE );
}
/* Redefine yyless() so it works in section 3 code. */
#undef yyless
#define yyless(n) \
do \
{ \
/* Undo effects of setting up yytext. */ \
yytext[yyleng] = yy_hold_char; \
yy_c_buf_p = yytext + n - YY_MORE_ADJ; \
yy_hold_char = *yy_c_buf_p; \
*yy_c_buf_p = '\0'; \
yyleng = n; \
} \
while ( 0 )
/* Internal utility routines. */
#ifndef yytext_ptr
#ifdef YY_USE_PROTOS
static void yy_flex_strncpy( char *s1, const char *s2, int n )
#else
static void yy_flex_strncpy( s1, s2, n )
char *s1;
const char *s2;
int n;
#endif
{
register int i;
for ( i = 0; i < n; ++i )
s1[i] = s2[i];
}
#endif
#ifdef YY_USE_PROTOS
static void *yy_flex_alloc( yy_size_t size )
#else
static void *yy_flex_alloc( size )
yy_size_t size;
#endif
{
return (void *) malloc( size );
}
#ifdef YY_USE_PROTOS
static void *yy_flex_realloc( void *ptr, yy_size_t size )
#else
static void *yy_flex_realloc( ptr, size )
void *ptr;
yy_size_t size;
#endif
{
return (void *) realloc( ptr, size );
}
#ifdef YY_USE_PROTOS
static void yy_flex_free( void *ptr )
#else
static void yy_flex_free( ptr )
void *ptr;
#endif
{
free( ptr );
}
#if YY_MAIN
int main()
{
yylex();
return 0;
}
#endif
#line 650 "scan.l"
int yywrap()
{
if ( --num_input_files > 0 )
{
set_input_file( *++input_files );
return 0;
}
else
return 1;
}
/* set_input_file - open the given file (if NULL, stdin) for scanning */
void set_input_file( file )
char *file;
{
if ( file )
{
infilename = copy_string( file );
yyin = fopen( infilename, "r" );
if ( yyin == NULL )
lerrsf( _( "can't open %s" ), file );
}
else
{
yyin = stdin;
infilename = copy_string( "<stdin>" );
}
linenum = 1;
}
/* Wrapper routines for accessing the scanner's malloc routines. */
void *flex_alloc( size )
size_t size;
{
return (void *) malloc( size );
}
void *flex_realloc( ptr, size )
void *ptr;
size_t size;
{
return (void *) realloc( ptr, size );
}
void flex_free( ptr )
void *ptr;
{
if ( ptr )
free( ptr );
}